diff --git a/CHANGELOG.md b/CHANGELOG.md index 50a1972..97f4107 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.5 - 2023.05.14 +- require dotclear 2.26 +- fix wrong repository version + 1.4 - 2023.04.22 - require dotclear 2.26 - use latest dotclear namespace diff --git a/_define.php b/_define.php index f59b383..fc7c868 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,12 +18,12 @@ $this->registerModule( 'Email notification', 'Email notification', 'Olivier Meunier and contributors', - '1.4', + '1.5', [ 'requires' => [['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/emailNotification', diff --git a/dcstore.xml b/dcstore.xml index e8949cb..8beb817 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Email notification - 1.4 + 1.5 Olivier Meunier and contributors Email notification - https://github.com/JcDenis/emailNotification/releases/download/v1.4/plugin-emailNotification.zip + https://github.com/JcDenis/emailNotification/releases/download/v1.5/plugin-emailNotification.zip 2.26 https://plugins.dotaddict.org/dc2/details/emailNotification https://github.com/JcDenis/emailNotification