mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
remove old code
This commit is contained in:
parent
4a034d395b
commit
c4fdc6aee9
|
@ -48,7 +48,6 @@ if (!is_object($document)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$folder = $document->getFolder();
|
$folder = $document->getFolder();
|
||||||
$docPathHTML = getFolderPathHTML($folder, true). " / <a href=\"../out/out.ViewDocument.php?documentid=".$documentid."\">".$document->getName()."</a>";
|
|
||||||
|
|
||||||
if ($document->getAccessMode($user) < M_READ) {
|
if ($document->getAccessMode($user) < M_READ) {
|
||||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied"));
|
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user