} // 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
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");