From 09382e3668b86b5a83b82720c8ea23f6776b525f Mon Sep 17 00:00:00 2001 From: Jan Wennrich <jan.wennrich@pcsg.de> Date: Wed, 26 Oct 2022 14:21:16 +0000 Subject: [PATCH] fix: no longer create backup of plugins on setup --- src/QUI/Ckeditor/EventHandler.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/QUI/Ckeditor/EventHandler.php b/src/QUI/Ckeditor/EventHandler.php index e014fee..ed8b5b0 100644 --- a/src/QUI/Ckeditor/EventHandler.php +++ b/src/QUI/Ckeditor/EventHandler.php @@ -27,27 +27,6 @@ class EventHandler } $PluginManager = new Manager(); - - // ----- Begin tempfix ----- - // This is a temporary fix for updating the systems - // there was a bug in the utils package which compromised the update process of the ckeditor, thus rendering the ckeditor useless - - if (!file_exists(VAR_DIR . "package/quiqqer/ckeditor4/plugins/bin/image/dialogs/image.js")) { - $newFolder = VAR_DIR . "package/quiqqer/ckeditor4/plugins." . time() . ".bak"; - rename( - VAR_DIR . "package/quiqqer/ckeditor4/plugins", - $newFolder - ); - - file_put_contents( - $newFolder . "/README.md", - "This directory was created as backup. If your ckeditor is working as intended you can delete this directory if you do not need it anymore" - ); - } - - // ----- End tempfix ----- - - $PluginManager->installPluginsFromSource(); } -- GitLab