]> git.mxchange.org Git - mailer.git/commitdiff
Make sure that extension versions not 0.0.0 are handled as updates (0.0.0 is a dummy...
authorRoland Häder <roland@mxchange.org>
Sat, 2 Jul 2011 19:35:39 +0000 (19:35 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 2 Jul 2011 19:35:39 +0000 (19:35 +0000)
inc/extensions-functions.php
inc/extensions/ext-order.php

index 8a47cadc84d048993455694289f372866510af5c..9c270f2ff06c669d74a2ee122a4213af8e42f714 100644 (file)
@@ -1098,7 +1098,7 @@ function addExtensionNotes ($ext_ver) {
        // Is do we have verbose output enabled?
        if ((!isExtensionActive('sql_patches')) || (isVerboseSqlEnabled())) {
                // Update notes found?
-               if (isExtensionUpdateNoteSet($ext_ver)) {
+               if ((isExtensionUpdateNoteSet($ext_ver)) && ($ext_ver != '0.0.0')) {
                        // Update notes found
                        $content = array(
                                'ver'   => $ext_ver,
index 1341bb39bde3371c27b1c340bde506c29831c4eb..97256d5ccfec35d07f646c3252c49766ecf61ed2 100644 (file)
@@ -313,6 +313,11 @@ INDEX (`pool_id`)
                                setExtensionUpdateNotes("Tabelle f&uuml;r URL-Sperrliste angelegt.");
                                break;
 
+                       case '0.5.1': // SQL queries for v0.5.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Nicht mehr g&uuml;ltiges Update.");
+                               break;
+
                        case '0.5.2': // SQL queries for v0.5.2
                                addConfigDropSql('test_text');
                                addConfigDropSql('test_subj');