* [misc] Delete the code for delete self doc.
This commit is contained in:
@@ -1946,7 +1946,6 @@ class doc extends control
|
||||
{
|
||||
$chapterAndDocs = $this->doc->getDocsOfLibs(array($libID), $objectType);
|
||||
$chapterAndDocs = array_column($chapterAndDocs, 'title', 'id');
|
||||
if(isset($chapterAndDocs[$docID])) unset($chapterAndDocs[$docID]);
|
||||
$this->view->chapterAndDocs = $chapterAndDocs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user