don't need accessop in show_form()

This commit is contained in:
Uwe Steinmann 2016-08-16 07:08:31 +02:00
parent 879ecea1e5
commit 38e75cf422

View File

@ -112,7 +112,6 @@ $(document).ready( function() {
$dms = $this->params['dms']; $dms = $this->params['dms'];
$user = $this->params['user']; $user = $this->params['user'];
$accessop = $this->params['accessobject']; $accessop = $this->params['accessobject'];
$roles = $this->params['allroles'];
if($currRole && !$currRole->isUsed() && $accessop->check_controller_access('RoleMgr', array('action'=>'removerole'))) { if($currRole && !$currRole->isUsed() && $accessop->check_controller_access('RoleMgr', array('action'=>'removerole'))) {
?> ?>