From: Roland Häder Date: Thu, 28 Jul 2011 22:39:58 +0000 (+0000) Subject: ext-coupon 0.0.2 wasn't right ... :( X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=c3cd4445231d674f03ed31839a8efb279309b208 ext-coupon 0.0.2 wasn't right ... :( --- diff --git a/inc/extensions/ext-coupon.php b/inc/extensions/ext-coupon.php index fb4450575a..2e4acb34b0 100644 --- a/inc/extensions/ext-coupon.php +++ b/inc/extensions/ext-coupon.php @@ -43,10 +43,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.0.1'); +setThisExtensionVersion('0.0.2'); // Version history array (add more with , '0.1' and so on) -setExtensionVersionHistory(array('0.0.0', '0.0.1')); +setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2')); switch (getExtensionMode()) { case 'register': // Do stuff when installtion is running @@ -144,7 +144,7 @@ UNIQUE (`coupon_code`)", setExtensionUpdateNotes(''); break; - case '0.0.1': // SQL queries for v0.0.1 + case '0.0.2': // SQL queries for v0.0.2 // Update data in points_data table addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_points_data` SET `subject`='coupon_cashed' WHERE `subject`='coupon' LIMIT 1");