Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-theme.php
index 6f09b59..ce0686a 100644 (file)
@@ -121,7 +121,7 @@ switch (getExtensionMode()) {
                        case '0.0.8': // SQL queries for v0.0.8
                                // Theme table
                                addDropTableSql('themes');
-                               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_themes` (
+                               addCreateTableSql('themes', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `theme_path` VARCHAR(255) NOT NULL DEFAULT '',
 `theme_name` VARCHAR(255) NOT NULL DEFAULT '',