* [misc] Delete the code for delete self doc.

This commit is contained in:
xieqiyu
2025-03-14 15:22:10 +08:00
committed by 代婷婷
parent bbd328c820
commit 67997ae7dd
-1
View File
@@ -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;
}