remove old code

This commit is contained in:
Uwe Steinmann 2015-07-15 08:22:16 +02:00
parent 4a034d395b
commit c4fdc6aee9

View File

@ -48,7 +48,6 @@ if (!is_object($document)) {
}
$folder = $document->getFolder();
$docPathHTML = getFolderPathHTML($folder, true). " / <a href=\"../out/out.ViewDocument.php?documentid=".$documentid."\">".$document->getName()."</a>";
if ($document->getAccessMode($user) < M_READ) {
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied"));