Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-cache.php
index fd920a839c66da74adc42308f6b1f4244c3560bb..8d631beaac3b3a40a788ad75adc64a8dc52c3102 100644 (file)
@@ -121,8 +121,8 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.0.7': // SQL queries for v0.0.7
-                               addConfigAddSql("db_hits BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
-                               addConfigAddSql("cache_hits BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
+                               addConfigAddSql('db_hits', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
+                               addConfigAddSql('cache_hits', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
                                addAdminMenuSql('stats','cache_stats','DB-Cache','Auf Cache und gesamte Datenbank registrierte Anfragen anzeigen.', 4);
 
                                // Update notes (these will be set as task text!)
@@ -218,7 +218,7 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.2.3': // SQL queries for v0.2.3
-                               addConfigAddSql("cache_filter ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('cache_filter', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Cachen von Filtern hinzugefügt.");