From a36f65455c11d2c34138447d3cdd0c441ec0b669 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 15:18:39 +0200 Subject: [PATCH] release 2023.05.13 --- CHANGELOG.md | 6 ++++++ _define.php | 8 ++++---- dcstore.xml | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e5495..af62298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2023.05.13 +- require dotclear 2.26 +- fix sql statement +- fix backend js +- cleanup for dotclear 2.26 stable + 2023.04.23 - require dotclear 2.26 - use latest dotclear namespace diff --git a/_define.php b/_define.php index fd90e7c..72d3dbc 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( 'Expired entries', 'Change entries options at a given date', 'Jean-Christian Denis and Contributors', - '2023.04.23', + '2023.05.13', [ '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/' . basename(__DIR__), diff --git a/dcstore.xml b/dcstore.xml index 6c4e882..e1ea9d0 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Expired entries - 2023.04.23 + 2023.05.13 Jean-Christian Denis and Contributors Change entries options at a given date - https://github.com/JcDenis/postExpired/releases/download/v2023.04.23/plugin-postExpired.zip + https://github.com/JcDenis/postExpired/releases/download/v2023.05.13/plugin-postExpired.zip 2.26 https://plugins.dotaddict.org/dc2/details/postExpired https://github.com/JcDenis/postExpired