Introduced wrapper function addCreateTableSql(), fixed parameter order:
[mailer.git] / inc / extensions / ext-booking.php
index aa0f8f1ee2547f5bcb4978af55e1d6eaf7414585..99797b6b378c6a38a448220c283536065968139b 100644 (file)
@@ -57,7 +57,7 @@ switch (getExtensionMode()) {
 
                // Drop/create table for user bookings
                addDropTableSql('user_book');
-               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_user_book`(
+               addCreateTableSql('user_book', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `subject` VARCHAR(255) NOT NULL DEFAULT 'missing',