+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Alle cache-baren Tabellen sind nun einzelnt ein- bzw. ausschaltbar. Falls die eine oder andere ausgelagerte Tabelle also Fehler verursachen sollte, so können Sie diese hier abschalten. Beachten Sie aber bitte, dass dann mehr Abfragen an die Datenbank gestellt wird und dies bedeutend mehr Zeit braucht, als nur die Daten aus einem Datenfeld zu laden, das sich im Speicher aufhält.");
+ break;
+
+ case '0.1.4': // SQL queries for v0.1.4
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Fehler <strong>Division durch 0</strong> repariert in <strong>inc/load_cache.php</strong>.");
+ break;
+
+ case '0.1.5': // SQL queries for v0.1.5
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Weitere Fehler im System beseitigt.");
+ break;
+
+ case '0.1.6': // SQL queries for v0.1.6
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Probleme während des Installationsvorganges beseitigt.");
+ break;
+
+ case '0.1.7': // SQL queries for v0.1.7
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("CSS-Klassenname gefixt in Templates.");
+ break;
+
+ case '0.1.8': // SQL queries for v0.1.8
+ ADD_EXT_SQL("ALTER TABLE `{!_MYSQL_PREFIX!}_config` ADD cache_themes ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Daten von installierten Themes werden nun gecacht.");
+ break;
+
+ case '0.1.9': // SQL queries for v0.1.9
+ ADD_EXT_SQL("ALTER TABLE `{!_MYSQL_PREFIX!}_config` ADD cache_admin_menu ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Administratormenü experimentell gecacht.");
+ break;
+
+ case '0.2.0': // SQL queries for v0.2.0
+ // This update depends on sql_patches
+ EXT_ADD_UPDATE_DEPENDS('sql_patches');
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Die Erweiterung hängt nun von der <strong>sql_patches</strong> ab.");
+ break;
+
+ case '0.2.1': // SQL queries for v0.2.1
+ // Register the new filter
+ registerFilter('extension_update', 'CACHE_DESTROY_ON_EXT_CHANGE', false, true, $dry_run);
+ registerFilter('post_extension_installed', 'CACHE_DESTROY_ON_EXT_CHANGE', false, true, $dry_run);
+ registerFilter('post_extension_run_sql', 'CACHE_DESTROY_ON_EXT_CHANGE', false, true, $dry_run);
+ registerFilter('post_admin_added', 'CACHE_DESTROY_ON_ADMIN_CHANGE', false, true, $dry_run);
+ registerFilter('post_admin_edited', 'CACHE_DESTROY_ON_ADMIN_CHANGE', false, true, $dry_run);
+ registerFilter('post_admin_deleted', 'CACHE_DESTROY_ON_ADMIN_CHANGE', false, true, $dry_run);
+ registerFilter('post_admin_reset_pass', 'CACHE_DESTROY_ON_ADMIN_CHANGE', false, true, $dry_run);
+ registerFilter('extension_remove', 'CACHE_DESTROY_ALL', false, true, $dry_run);
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Filter für Erweiterungsmanagement hinzugefügt.");
+ break;
+
+ case '0.2.2': // SQL queries for v0.2.2
+ // Register the new filter
+ registerFilter('post_extension_installed', 'CACHE_PURGE_ADMIN_MENU', false, true, $dry_run);
+ registerFilter('post_extension_run_sql', 'CACHE_PURGE_ADMIN_MENU', false, true, $dry_run);
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Weitere Filter hinzugefügt.");
+ break;
+
+ case '0.2.3': // SQL queries for v0.2.3
+ ADD_EXT_SQL("ALTER TABLE `{!_MYSQL_PREFIX!}_config` ADD cache_filter ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+ // Update notes (these will be set as task text!)
+ EXT_SET_UPDATE_NOTES("Cachen von Filtern hinzugefügt.");
+
+ // Register a new filter
+ registerFilter('shutdown', 'CACHE_DESTROY_FILTER', false, true, $dry_run);
+ break;
+ }