* Delete unuse code.

This commit is contained in:
Yagami
2020-07-31 15:16:51 +08:00
parent 96c494098a
commit dadf47b325
-2
View File
@@ -11,8 +11,6 @@ class program extends control
public function index($status = 'doing', $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 10, $pageID = 1)
{
$this->commonAction();
if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->program->create, '', "class='btn btn-primary'");
$programType = $this->cookie->programType ? $this->cookie->programType : 'bylist';