]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
A major bugfix for extension registration, ext-coupon does now purge coupons:
[mailer.git] / inc / extensions / ext-autopurge.php
index 83d8af65ea1b4509ce549840ebaabe61111b168c..c963ddeb13b0bf5bebdb9d8871b9782fc5991f00 100644 (file)
@@ -56,7 +56,7 @@ switch (getExtensionMode()) {
 
                // SQL commands to run
                addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_pool` CHANGE `data_type` `data_type` ENUM('TEMP','SEND','NEW','ADMIN','ACTIVE','DELETED') NOT NULL DEFAULT 'TEMP'");
-               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_bonus` CHANGE `data_type` ENUM('NEW','QUEUE','SEND','DELETED') NOT NULL DEFAULT 'NEW'");
+               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_bonus` CHANGE `data_type` `data_type` ENUM('NEW','QUEUE','SEND','DELETED') NOT NULL DEFAULT 'NEW'");
                break;
 
        case 'remove': // Do stuff when removing extension