Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / extensions / ext-cache.php
index 8d631be..29221d4 100644 (file)
@@ -232,14 +232,14 @@ switch (getExtensionMode()) {
                                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='config_cache' LIMIT 1");
 
                                // Remove config entries
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_themes`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_admins`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_acls`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_exts`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_config`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_modreg`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_refdepth`");
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `cache_refsys`");
+                               addConfigDropSql('cache_themes');
+                               addConfigDropSql('cache_admins');
+                               addConfigDropSql('cache_acls');
+                               addConfigDropSql('cache_exts');
+                               addConfigDropSql('cache_config');
+                               addConfigDropSql('cache_modreg');
+                               addConfigDropSql('cache_refdepth');
+                               addConfigDropSql('cache_refsys');
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Der Cache hat keine Konfiguration mehr.");