auth)) { return; } $this->registerModule( 'CountDown', 'Countdown and stopwatch', 'Moe (http://gniark.net/) and contributors', '2.2', [ 'requires' => [['core', '2.22']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), 'type' => 'plugin', 'support' => 'https://forum.dotclear.org/viewforum.php?id=16', 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] );