]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-coupon.php
Naming convention on language strings applied, ACL handling fixed:
[mailer.git] / inc / extensions / ext-coupon.php
index 7d8755c03bd148ef4230554c9d37a867ae401002..2f223f2fb21cb4e1973de35abc456708c919bfaa 100644 (file)
@@ -48,9 +48,6 @@ setThisExtensionVersion('0.0');
 // Version history array (add more with , '0.1' and so on)
 setExtensionVersionHistory(array('0.0'));
 
-// This extension is in development (non-productive)
-enableExtensionProductive(false);
-
 switch (getExtensionMode()) {
        case 'register': // Do stuff when installtion is running
                // This extension requires an up-to-date user
@@ -64,7 +61,7 @@ switch (getExtensionMode()) {
 `coupon_expired` TIMESTAMP NULL DEFAULT NULL,
 `coupon_type` ENUM('CODE','API') NOT NULL DEFAULT 'CODE',
 `total_created` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`total_used` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`total_cashed` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `points` FLOAT(20,5) NOT NULL DEFAULT 0.00000,
 `coupon_description` TEXT,
 PRIMARY KEY (`id`)