mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-06 01:50:57 +00:00
remove old code
This commit is contained in:
parent
04df883582
commit
5c717cf6ba
|
@ -49,7 +49,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, 'editDocument') < M_READWRITE) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied"));
|
||||
|
@ -125,7 +124,6 @@ $oldexpires = $document->getExpires();
|
|||
$oldattributes = array();
|
||||
foreach($document->getAttributes() as $ai=>$aa)
|
||||
$oldattributes[$ai] = clone $aa;
|
||||
//$oldattributes = $document->getAttributes();
|
||||
|
||||
$controller->setParam('fulltextservice', $fulltextservice);
|
||||
$controller->setParam('document', $document);
|
||||
|
|
Loading…
Reference in New Issue
Block a user