From f20be2acd377a5960b9b8c31245fcff51c2b4d21 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 30 Jun 2023 23:19:11 +0200 Subject: [PATCH] second try to fix php8.1 --- _define.php | 2 +- dcstore.xml | 4 ++-- src/Backend.php | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_define.php b/_define.php index ee4eddc..e2d5131 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Feeds server', 'Mix your blog with a feeds planet', 'Jean-Christian Denis, BG, Pierre Van Glabeke', - '2023.06.30', + '2023.06.30.2', [ 'requires' => [ ['php', '8.1'], diff --git a/dcstore.xml b/dcstore.xml index 2323354..9e29785 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Feeds server - 2023.06.30 + 2023.06.30.2 Jean-Christian Denis, BG, Pierre Van Glabeke Mix your blog with a feeds planet - https://github.com/JcDenis/zoneclearFeedServer/releases/download/v2023.06.30/plugin-zoneclearFeedServer.zip + https://github.com/JcDenis/zoneclearFeedServer/releases/download/v2023.06.30.2/plugin-zoneclearFeedServer.zip 2.26 https://plugins.dotaddict.org/dc2/details/zoneclearFeedServer https://github.com/JcDenis/zoneclearFeedServer diff --git a/src/Backend.php b/src/Backend.php index 3c6565f..2c05c06 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -47,7 +47,9 @@ class Backend extends dcNsProcess // widgets registration 'initWidgets' => [Widgets::class, 'init'], // add Uninstaller cleaner for special direct action - 'UninstallerCleanersConstruct' => [UninstallCleaner::class, 'init'], + 'UninstallerCleanersConstruct' => function ($uninstaller_stack) { + UninstallCleaner::init($uninstaller_stack); + }, ]); // nullsafe