update application/admin/controller/auth/Adminlog.php.

删除残留的旧的冗余代码

Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com>
pull/475/head
御宅男(YznCMS官方) 2024-09-27 05:33:05 +00:00 committed by Gitee
parent a5025fd1b1
commit f01d11d02b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 8 deletions

View File

@ -18,21 +18,13 @@ class Adminlog extends Backend
* @var \app\admin\model\AdminLog
*/
protected $model = null;
protected $childrenGroupIds = [];
protected $childrenAdminIds = [];
public function _initialize()
{
parent::_initialize();
$this->model = model('AdminLog');
$this->childrenAdminIds = $this->auth->getChildrenAdminIds(true);
$this->childrenGroupIds = $this->auth->getChildrenGroupIds(true);
$groupName = AuthGroup::where('id', 'in', $this->childrenGroupIds)
->column('id,name');
$this->view->assign('groupdata', $groupName);
}
/**