Alte Moodle-Themes entfernen

Moodle hatte ursprĂŒnglich etliche Themes in der Standardinstallation. Mit den neueren Versionen, nach Umstellung auf Bootstrap-Themes, sind die alten Themes nicht mehr dabei und wurden gelöscht. Keine Ahnung ob das nur mich betrifft, aber seit einiger Zeit stört mich bei den Moodle-Updates, dass Moodle immer noch davon ausgeht die alten Themes wĂ€ren noch da und die im Zuge des Updates zu löschen verspricht. Beim nĂ€chsten Update ist das dann aber erneut so :-(.

Bei aktuellen Update auf die neueste Version 2.9.1+ habe ich mich dann mal auf die Suche gemacht woran das liegt. Die Themes im Dateisystem waren offensichtlich weg. In der Datenbank wurde ich dann aber in den Tabellen mdl_config_plugins und mdl_config_log fĂŒndig. Keine Ahnung ob das irgendwann ein Updatefehler von mir war oder ob schlicht und ergreifend in einer offiziellen Moodle-Update-Routine ein Fehler war und diese DB-EintrĂ€ge vergessen wurden. Wie auch immer, ĂŒber ein paar passende DELETE-SQL-Befehle war das Problem damit dann endgĂŒltig Geschichte!

Nachfolgend der von mir verwendete SQL-Code – evtl. bin ich ja doch noch nicht allein mit dem Problem und jemand kann es brauchen. Ggf. um eigene Themes die erweitern …

DELETE FROM mdl_config_plugins WHERE plugin='theme_afterburner';
DELETE FROM mdl_config_log WHERE plugin='theme_afterburner';
DELETE FROM mdl_config_plugins WHERE plugin='theme_anomaly';
DELETE FROM mdl_config_log WHERE plugin='theme_anomaly';
DELETE FROM mdl_config_plugins WHERE plugin='theme_arialist';
DELETE FROM mdl_config_log WHERE plugin='theme_arialist';
DELETE FROM mdl_config_plugins WHERE plugin='theme_binarius';
DELETE FROM mdl_config_log WHERE plugin='theme_binarius';
DELETE FROM mdl_config_plugins WHERE plugin='theme_boxxie';
DELETE FROM mdl_config_log WHERE plugin='theme_boxxie';
DELETE FROM mdl_config_plugins WHERE plugin='theme_brick';
DELETE FROM mdl_config_log WHERE plugin='theme_brick';
DELETE FROM mdl_config_plugins WHERE plugin='theme_formal_white';
DELETE FROM mdl_config_log WHERE plugin='theme_formal_white';
DELETE FROM mdl_config_plugins WHERE plugin='theme_formfactor';
DELETE FROM mdl_config_log WHERE plugin='theme_formfactor';
DELETE FROM mdl_config_plugins WHERE plugin='theme_fusion';
DELETE FROM mdl_config_log WHERE plugin='theme_fusion';
DELETE FROM mdl_config_plugins WHERE plugin='theme_leatherbound';
DELETE FROM mdl_config_log WHERE plugin='theme_leatherbound';
DELETE FROM mdl_config_plugins WHERE plugin='theme_magazine';
DELETE FROM mdl_config_log WHERE plugin='theme_magazine';
DELETE FROM mdl_config_plugins WHERE plugin='theme_nimble';
DELETE FROM mdl_config_log WHERE plugin='theme_nimble';
DELETE FROM mdl_config_plugins WHERE plugin='theme_nonzero';
DELETE FROM mdl_config_log WHERE plugin='theme_nonzero';
DELETE FROM mdl_config_plugins WHERE plugin='theme_overlay';
DELETE FROM mdl_config_log WHERE plugin='theme_overlay';
DELETE FROM mdl_config_plugins WHERE plugin='theme_serenity';
DELETE FROM mdl_config_log WHERE plugin='theme_serenity';
DELETE FROM mdl_config_plugins WHERE plugin='theme_sky_high';
DELETE FROM mdl_config_log WHERE plugin='theme_sky_high';
DELETE FROM mdl_config_plugins WHERE plugin='theme_splash';
DELETE FROM mdl_config_log WHERE plugin='theme_splash';
DELETE FROM mdl_config_plugins WHERE plugin='theme_standard';
DELETE FROM mdl_config_log WHERE plugin='theme_standard';
DELETE FROM mdl_config_plugins WHERE plugin='theme_standardold';
DELETE FROM mdl_config_log WHERE plugin='theme_standardold';

2 Gedanken zu „Alte Moodle-Themes entfernen“

Schreibe einen Kommentar