Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-primera.php
index b76c24c6f7fbb9e20bc28074b7c79d06f223fead..e9611eede7f5418d1f2a7ff904ff2711792d0943 100644 (file)
@@ -55,7 +55,7 @@ switch (getExtensionMode()) {
        case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
                // SQL commands to run
                addDropTableSql('user_primera');
-               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_user_primera` (
+               addCreateTableSql('user_primera', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `primera_account` VARCHAR(255) NOT NULL DEFAULT '',