Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-birthday.php
index 5c96814e86266155da12ce23d431af70196111fa..330bc843d64b426ffbfcaa63702f2812a7b27d3c 100644 (file)
@@ -79,7 +79,7 @@ switch (getExtensionMode()) {
                        case '0.2.0': // SQL queries for v0.2
                                addConfigAddSql('birthday_points', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
                                addDropTableSql('user_birthday');
-                               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_user_birthday` (
+                               addCreateTableSql('user_birthday', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,