diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ad44de..54b205e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2023.05.13 +* require dotclear 2.26 +* cleanup for dc2.26 stable + 2023.04.22 * require dotclear 2.26 * add plugin Uninstaller features diff --git a/_define.php b/_define.php index 12f6319..17b5363 100644 --- a/_define.php +++ b/_define.php @@ -10,7 +10,7 @@ * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ -if (!defined('DC_RC_PATH')) { +if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) { return null; } @@ -18,11 +18,11 @@ $this->registerModule( 'URL handlers', 'Change Dotclear URL handlers', 'Alex Pirine and contributors', - '2023.04.22', + '2023.05.13', [ 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ - dcAuth::PERMISSION_CONTENT_ADMIN, + dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), 'priority' => 150000, 'type' => 'plugin', diff --git a/dcstore.xml b/dcstore.xml index 5473524..421b355 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ URL handlers - 2023.04.22 + 2023.05.13 Alex Pirine and contributors Change Dotclear URL handlers - https://github.com/JcDenis/myUrlHandlers/releases/download/v2023.04.22/plugin-myUrlHandlers.zip + https://github.com/JcDenis/myUrlHandlers/releases/download/v2023.05.13/plugin-myUrlHandlers.zip 2.26 http://plugins.dotaddict.org/dc2/details/myUrlHandlers https://github.com/JcDenis/myUrlHandlers