]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-sql_patches.php
Updates menu moved to ext-update, fixes for main menu entries where what is NULL
[mailer.git] / inc / extensions / ext-sql_patches.php
index d2fe0192c5cac7b5851fd976a44f84444684b463..6a364e43612e18959f5e4ade0eb24636f9c0d6c1 100644 (file)
@@ -682,8 +682,8 @@ PRIMARY KEY (`filter_id`)
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Filter-Tabelle bereinigt um doppelte Eintr&auml;ge und Unique-Key auf <em>filter_name</em> und <em>filter_function</em> zusammen gesetzt.");
 
-                               // Include special filte
-                               loadIncludeOnce('inc/fix_filters.php');
+                               // Add special fix include to fix filters
+                               addIncludeToPool('extension', 'inc/fix_filters.php');
                                break;
 
                        case '0.6.4': // SQL queries for v0.6.4
@@ -722,11 +722,8 @@ PRIMARY KEY (`filter_id`)
                        // Maybe need setup of secret key!
                        loadIncludeOnce('inc/gen_sql_patches.php');
 
-                       // @TODO Rewrite this to a filter!
+                       // @TODO Rewrite this to a filter
                        if ((isExtensionInstalledAndNewer('cache', '0.1.2')) && (isCacheInstanceValid())) {
-                               // Remove extensions and mod_reg cache file
-                               loadIncludeOnce('inc/libs/cache_functions.php');
-
                                // Destroy some cache files
                                if ($GLOBALS['cache_instance']->loadCacheFile('extension')) $GLOBALS['cache_instance']->removeCacheFile();
                                if ($GLOBALS['cache_instance']->loadCacheFile('modules'))   $GLOBALS['cache_instance']->removeCacheFile();
@@ -745,7 +742,7 @@ PRIMARY KEY (`filter_id`)
                                updateConfiguration('file_hash', '');
 
                                // Cannot read secret file!
-                               app_die(__FILE__, __LINE__, "Cannot read secret file! Please try to reload");
+                               app_die(__FILE__, __LINE__, 'Cannot read secret file! Please try to reload.');
                        }
                } // END - if