backend - replace event controller with module
This commit is contained in:
@@ -31,7 +31,7 @@ class EventPermissions
|
||||
public function __construct()
|
||||
{
|
||||
$moduleMode = EventModule::getInstance()->mode;
|
||||
if ( $moduleMode == 'admin'){
|
||||
if ( $moduleMode == 'backend'){
|
||||
$this->allowCreate = true;
|
||||
$this->allowDelete = true;
|
||||
$this->allowEdit = true;
|
||||
|
||||
Reference in New Issue
Block a user