- case "0.5.9": // SQL queries for v0.5.9
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Sicherheitsupdate: SQL-Anweisungen geschützt.";
- break;
-
- case "0.6.0": // SQL queries for v0.6.0
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Link in "ACL Einstellen" zum Admin-Kontaktformular korregiert.";
- break;
-
- case "0.6.1": // SQL queries for v0.6.1
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Speichern von Admin-Accounts klappt wieder.";
- break;
-
- case "0.6.2": // SQL queries for v0.6.2
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Bitte verschieben Sie die admins-Templates (Ordner: {!PATH!}/templates/de/emails/) in den neuen Order admins!";
- break;
-
- case "0.6.3": // SQL queries for v0.6.3
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";
- break;
-
- case "0.6.4": // SQL queries for v0.6.4
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Problem mit der Rechtevererbung beseitigt: Geben Sie nun ein Hauptmenü frei (Allow), dann kann der Admin auch die Untermenüs erreichen. Zudem können Sie gezielte Untermenüs im freigegeben Hauptmenü dennoch sperren.";
- break;
-
- case "0.6.5": // SQL queries for v0.6.5
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Sicherheitsupdate für die Include-Befehle.";
- break;
-
- case "0.6.6": // SQL queries for v0.5.6
- $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_admin_menu` SET what='admins_contct' WHERE what='admins_contact' LIMIT 1";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Namenskonflikt zwischen den Erweiterungen <STRONG>admins</STRONG> und (kommender) <STRONG>contact</STRONG>.";
- break;
-
- case "0.6.7": // SQL queries for v0.6.7
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_admins ADD la_mode ENUM('global','OLD','NEW') NOT NULL DEFAULT 'global'";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Namenskonflikt zwischen den Erweiterungen <STRONG>admins</STRONG> und (kommender) <STRONG>contact</STRONG>. Beseitigung eines Fehlers <STRONG>HTTP_POSR_VARS</STRONG> beim Ändern von Administratoren.";
- break;
-
- case "0.6.8": // SQL queries for v0.6.8
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "<STRONG>set_session()</STRONG> mit @-Zeichen gegen ungewollte Ausgaben abgesichert.";
- break;
-
- case "0.6.9": // SQL queries for v0.6.9
- $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_admin_menu` SET title = 'Admin-Management' WHERE action = 'admins' AND (what='' OR what IS NULL) LIMIT 1";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Verwaltung nach Management umbenannt.";
- break;
-
- case "0.7.0": // SQL queries for v0.7.0
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_admins ADD login_failtures BIGINT(20) UNSIGNED NOT NULL DEFAULT 0";
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_admins ADD last_failture TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Fehlgeschlagene Login-Versuche werden nun mitgezählt und der letzte vermerkt.";
- break;
-
- case "0.7.1": // SQL queries for v0.7.1
- // Update depends on sql_patches
- $EXT_UPDATE_DEPENDS = "sql_patches";
-
- // Add filters
- REGISTER_FILTER('sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', false, true, $dry_run);
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Filter hinzugefügt und ist von <strong>sql_patches</strong> abhängig.";
- break;
- }
- break;
-
-case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
- break;
-
-default: // Do stuff when extension is loaded
- break;
-}
-
-//