auth)) { return null; } $this->registerModule( 'Activity log', 'Log and receive your blog activity by email, feed, or on dashboard', 'Jean-Christian Denis and contributors', '3.1', [ 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_USAGE, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, dcCore::app()->auth::PERMISSION_ADMIN, ]), 'priority' => 2, 'type' => 'plugin', 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] );