From: Roland Häder Date: Fri, 31 May 2013 08:01:39 +0000 (+0000) Subject: Removed double-update (0.2.1) for ext-doubler as it caused SQL error (which needs... X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=33a76a20bc94ffe95e9f13906eb7dc5cf354948d Removed double-update (0.2.1) for ext-doubler as it caused SQL error (which needs fixing anyway) --- diff --git a/inc/extensions/doubler/mode-update.php b/inc/extensions/doubler/mode-update.php index da3cb462ea..b85eb70d0b 100644 --- a/inc/extensions/doubler/mode-update.php +++ b/inc/extensions/doubler/mode-update.php @@ -41,6 +41,7 @@ if (!defined('__SECURITY')) { } // END - if // @TODO Remove double tabs from all lines + switch (getCurrentExtensionVersion()) { case '0.0.1': // SQL queries for v0.0.1 // Update notes (these will be set as task text!) setExtensionUpdateNotes("Problem mit Mitglieds-Id behoben."); @@ -165,15 +166,6 @@ if (!defined('__SECURITY')) { // Update notes (these will be set as task text!) setExtensionUpdateNotes("Filter zum Ausschließen des konfigurierten Mitgliedaccounts."); break; - - case '0.2.1': // SQL queries for v0.2.1 - // Register subject lines - registerExtensionPointsData('doubler_direct', 'points', 'LOCKED', 'DIRECT'); - registerExtensionPointsData('doubler_reset', 'points', 'LOCKED', 'DIRECT'); - - // Update notes (these will be set as task text!) - setExtensionUpdateNotes("Verwendungszwecks für Guthabenkonten hinzugefügt."); - break; } // END - switch // [EOF] diff --git a/inc/extensions/ext-doubler.php b/inc/extensions/ext-doubler.php index b0cedb8dc9..eac8bdedb8 100644 --- a/inc/extensions/ext-doubler.php +++ b/inc/extensions/ext-doubler.php @@ -41,10 +41,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.2.1'); +setThisExtensionVersion('0.2.0'); // Version history array (add more with , '0.0.1' and so on) -setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1')); +setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0')); switch (getExtensionMode()) { case 'setup': // Do stuff when installation is running