diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d09735..04e38b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2023.05.13 +- require Dotclear 2.26 +- require PHP 8.1+ +- use define php_min +- use dotclear lock method + 2023.04.23 - require Dotclear 2.26 - require PHP 8.1 diff --git a/_define.php b/_define.php index 68b9220..00e4512 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,15 +18,15 @@ $this->registerModule( 'Periodical', 'Published periodically entries', 'Jean-Christian Denis and contributors', - '2023.04.23', + '2023.05.13', [ 'requires' => [ ['php', '8.1'], ['core', '2.26'], ], 'permissions' => dcCore::app()->auth->makePermissions([ - dcAuth::PERMISSION_USAGE, - dcAuth::PERMISSION_CONTENT_ADMIN, + dcCore::app()->auth::PERMISSION_USAGE, + dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), 'type' => 'plugin', 'support' => 'https://github.com/JcDenis/periodical', diff --git a/dcstore.xml b/dcstore.xml index 279a1c4..67795ea 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Periodical - 2023.04.23 + 2023.05.13 Jean-Christian Denis and contributors Published periodically entries - https://github.com/JcDenis/periodical/releases/download/v2023.04.23/plugin-periodical.zip + https://github.com/JcDenis/periodical/releases/download/v2023.05.13/plugin-periodical.zip 2.26 https://plugins.dotaddict.org/dc2/details/periodical https://github.com/JcDenis/periodical