auth)) { return null; } $this->registerModule( 'emailOptionnel', 'Make e-mail address optional in comments', 'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors', '1.1', [ 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), 'type' => 'plugin', 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332948#p332948', 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', 'settings' => [ 'blog' => '#params.emailOptionnelParam', ], ] );