Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-nickname.php
index 93ec509..a81ff0c 100644 (file)
@@ -173,7 +173,7 @@ switch (getExtensionMode()) {
                        case '0.1.9': // SQL queries for v0.1.9
                                addAdminMenuSql('user','list_nickname','Nickname-Historie','Listet alle verwendeten Nicknames der Mitglieder auf.', 12);
                                addDropTableSql('nickname_history');
-                               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_nickname_history` (
+                               addCreateTableSql('nickname_history', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `nickname` VARCHAR(255) NOT NULL DEFAULT '',