diff --git a/App/Controllers/ArticleTree.php b/App/Controllers/ArticleTree.php index dc7c75b..9feca21 100644 --- a/App/Controllers/ArticleTree.php +++ b/App/Controllers/ArticleTree.php @@ -17,7 +17,6 @@ class ArticleTree extends Controller $titles = $docModel->AllTitle(); $doc_all = $docModel->getArticlesTree(-1); - var_dump($doc_all); $mapforbuildtree = []; $articletree = []; @@ -115,7 +114,6 @@ class ArticleTree extends Controller } $docModel = new Models\Doc(); $doc_all = $docModel->getArticlesTree((int)$this->params[0]); - var_dump($this->querys); $doc_vers = $docModel->DocVersTime((int)$this->params[0]); $firstpagedocs = []; diff --git a/App/Models/Doc.php b/App/Models/Doc.php index 31314cb..1aab177 100644 --- a/App/Models/Doc.php +++ b/App/Models/Doc.php @@ -98,7 +98,6 @@ class Doc extends Model public function doc_history($doc_id){ $result = []; $db = static::getDB(); - print_r('select * from doc_history where doc_history.doc_id = '.$doc_id); $stmt = $db->query('select * from doc_history where doc_history.doc_id = '.$doc_id); $recv = $stmt->fetchAll(); return $recv;