]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-cache.php
Hotfix
[mailer.git] / inc / extensions / ext-cache.php
index 13233c2aee258c4e05dd399a314732e8bb7bcd86..566c1879a1ad6aa7c8f68bb6a66cebfa06c2b805 100644 (file)
@@ -6,7 +6,7 @@
  * -------------------------------------------------------------------- *
  * File              : ext-cache.php                                    *
  * -------------------------------------------------------------------- *
- * Short description : Caching system for SQL tables on hard disc       *
+ * Short description : Caching system for SQL tables on hard drive      *
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Caching-System zum Auslagern von SQL-Tabellen    *
  *                     auf der Festplatte des Servers                   *
@@ -18,7 +18,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -44,8 +44,8 @@ if (!defined('__SECURITY')) {
 // Version number
 setThisExtensionVersion('0.2.5');
 
-// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(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', '0.2.2', '0.2.3', '0.2.4', '0.2.5'));
+// 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', '0.2.2', '0.2.3', '0.2.4', '0.2.5'));
 
 // Keep this extension always active!
 setExtensionAlwaysActive('Y');
@@ -100,14 +100,8 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.0.4': // SQL queries for v0.0.4
-                               // Is the cache extension itself there?
-                               if (isExtensionActive('cache')) {
-                                       // Check for cache when extension is already installed
-                                       if ($GLOBALS['cache_instance']->loadCacheFile('extension')) $GLOBALS['cache_instance']->removeCacheFile();
-                               } // END - if
-
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Spalte "keep_active" ist hinzugefügt. Cache wurde reinitialisiert.");
+                               setExtensionUpdateNotes("Spalte "keep_active" ist hinzugefügt.");
                                break;
 
                        case '0.0.5': // SQL queries for v0.0.5
@@ -190,7 +184,7 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.2.0': // SQL queries for v0.2.0
-                               // This update depends on sql_patches
+                               // This update depends on ext-sql_patches
                                addExtensionDependency('sql_patches');
 
                                // Update notes (these will be set as task text!)
@@ -249,7 +243,7 @@ switch (getExtensionMode()) {
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Daten von gefundenen Sprachdateien werden zu den Erweiterungen gecacht.");
                                break;
-               }
+               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
@@ -264,7 +258,7 @@ switch (getExtensionMode()) {
        default: // Unknown extension mode
                logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
                break;
-}
+} // END - switch
 
 // [EOF]
 ?>