diff --git a/_define.php b/_define.php index bcd8e2c..20c9c35 100644 --- a/_define.php +++ b/_define.php @@ -21,7 +21,9 @@ $this->registerModule( '0.10', [ 'requires' => [['core', '2.24']], - 'permissions' => dcAuth::PERMISSION_CONTENT_ADMIN, + 'permissions' => dcCore::app()->auth->makePermissions([ + dcAuth::PERMISSION_CONTENT_ADMIN, + ]), 'type' => 'plugin', 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=333002#p333002', 'details' => 'http://plugins.dotaddict.org/dc2/details/topWriter',