Skip to content
Code-Schnipsel Gruppen Projekte
Commit 09382e36 erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

fix: no longer create backup of plugins on setup

Übergeordneter 86643ff4
No related branches found
No related tags found
2 Merge Requests!6Version 2.3.1,!4fix: no longer create backup of plugins on setup
......@@ -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();
}
......
  • Autor(in) Maintainer

    Mündlich mit @mor geklärt, dass das entfernt werden soll, da die Backups in den letzten Jahren nie benötigt wurden.
    Bei Systemen, wo häufig Setups ausgeführt werden, entstehen so schnell einige Gigabyte an Backups.

  • Jan Wennrich @JanWennrich

    mentioned in issue #34

    ·

    mentioned in issue #34

    Commit-Liste ein-/ausklappen
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren