]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-wernis.php
More fixes from bugtracker issues, thanks to profi-concept
[mailer.git] / inc / extensions / ext-wernis.php
index 3d8855fdf2b466f0df7c287c9ef6fb62a2b07626..3bc9f01bf27e1f7a413d7eb8c78a08a57254a414 100644 (file)
@@ -38,13 +38,13 @@ if (!defined('__SECURITY')) {
 }
 
 // Version of this extension
 }
 
 // Version of this extension
-$EXT_VERSION = "0.0.3";
+$EXT_VERSION = "0.0.4";
 
 // Auto-set extension version
 if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;
 
 // Version history array (add more with , "0.1" and so on)
 
 // Auto-set extension version
 if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;
 
 // Version history array (add more with , "0.1" and so on)
-$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3");
+$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4");
 
 switch ($EXT_LOAD_MODE)
 {
 
 switch ($EXT_LOAD_MODE)
 {
@@ -136,6 +136,13 @@ case "update": // Update an extension
                // Update notes (these will be set as task text!)
                $UPDATE_NOTES = "Spaltentyp von VARCHAR(6) auf BIGINT(5) geändert.";
                break;
                // Update notes (these will be set as task text!)
                $UPDATE_NOTES = "Spaltentyp von VARCHAR(6) auf BIGINT(5) geändert.";
                break;
+
+       case "0.0.4": // SQL queries for v0.0.4
+               $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `wernis_refid` INT(5) UNSIGNED ZEROFILL NOT NULL DEFAULT '00000'";
+
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Fehlende Ref-Id hinzugetan.";
+               break;
        }
        break;
 
        }
        break;