Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
刘俊涛 committed Mar 1, 2017
1 parent 6355e64 commit 30603c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions common/components/PackageInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,6 @@ public function canUninstall()
return $this->getModel()->install === true;
}

public function canInstall()
{
return $this->getModel()->install === false;
}

public function canClose()
{
return $this->getModel()->is_core == false;
Expand Down
2 changes: 1 addition & 1 deletion database/migrations/m161102_090053_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function up()
['58','权限管理','33','/rbac/permission/index','4','','fa-check-square'],
['66','群发站内信','24','/message/admin/create','4','','fa-comment-o'],
['67','错误日志','24','/log/index','5','','fa-warning'],
['68','控制面板','24','/site/index','1','','fa-dashboard'],
['68','控制面板','24','/site/dashboard','1','','fa-dashboard'],
['69','GII','24','/gii/default/index','6','',''],
['70','迁移','24','/migration/default/index','7','','fa-external-link'],
['71','配置','','','8','',''],
Expand Down

0 comments on commit 30603c9

Please sign in to comment.