]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-other.php
Some fixes in cache, GET_LANGUAGE() is now memory-cached, min age configurable
[mailer.git] / inc / extensions / ext-other.php
index e213c22c21dfa05af42539edff8ebcae783ac296..23454d623b093fdc9451c01cd6e6a8457a8bafad 100644 (file)
@@ -38,13 +38,13 @@ if (!defined('__SECURITY')) {
 }
 
 // Version number
-$EXT_VERSION = "0.2.0";
+$EXT_VERSION = "0.2.1";
 
 // 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", "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");
+$EXT_VER_HISTORY = array("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");
 
 switch ($EXT_LOAD_MODE)
 {
@@ -187,6 +187,13 @@ case "update": // Update an extension
                // Update notes (these will be set as task text!)
                $UPDATE_NOTES = "Bei fehlerhafter Mail während der Bestätigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.";
                break;
+
+       case "0.2.1": // SQL queries for v0.2.1
+               $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` `min_age` TINYINT(3) UNSIGNED NOT NULL DEFAULT 16";
+
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Minimumalter ist nun konfigurierbar.";
+               break;
        }
        break;
 
@@ -194,9 +201,6 @@ default: // Do stuff when extension is loaded
        break;
 }
 
-// Language file prefix
-$EXT_LANG_PREFIX = "other";
-
 // Keep this extension always active!
 $EXT_ALWAYS_ACTIVE = "Y";