* Remove dumplicate code.

This commit is contained in:
sunguangming
2024-03-06 11:16:24 +08:00
parent d18f0d131f
commit da1d4f6445
-2
View File
@@ -315,8 +315,6 @@ class project extends control
$browseType = strtolower($browseType);
if(!in_array($browseType, array('all', 'undone', 'bysearch'))) unset($this->config->project->dtable->fieldList['status']);
$this->loadModel('program')->refreshStats(); // Refresh stats fields of projects.
/* Load pager. */
$this->app->loadClass('pager', true);
$pager = new pager($recTotal, $recPerPage, $pageID);