X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-sql_patches.php;h=64883e68b3df23c8d11cd3314ce926e95194d640;hb=b6a966455449d583ca8d059a4bb64123df603cef;hp=4d73669ae9011b348103960ee010074dba098603;hpb=ef230a1c05342c651c51a575d5b90aec18688336;p=mailer.git diff --git a/inc/extensions/ext-sql_patches.php b/inc/extensions/ext-sql_patches.php index 4d73669ae9..64883e68b3 100644 --- a/inc/extensions/ext-sql_patches.php +++ b/inc/extensions/ext-sql_patches.php @@ -756,17 +756,8 @@ INDEX (`ip`) // Read key from secret file if ((isExtensionInstalledAndNewer('sql_patches', '0.3.6')) && ((getFileHash() == '') || (getMasterSalt() == '') || (getPassScramble() == ''))) { - // Cache instance // Maybe need setup of secret key! loadIncludeOnce('inc/gen_sql_patches.php'); - - // @TODO Rewrite this to a filter - if ((isExtensionInstalledAndNewer('cache', '0.1.2')) && (isCacheInstanceValid())) { - // Destroy some cache files - if ($GLOBALS['cache_instance']->loadCacheFile('config')) $GLOBALS['cache_instance']->removeCacheFile(); - if ($GLOBALS['cache_instance']->loadCacheFile('extension')) $GLOBALS['cache_instance']->removeCacheFile(); - if ($GLOBALS['cache_instance']->loadCacheFile('modules')) $GLOBALS['cache_instance']->removeCacheFile(); - } // END - if } // END - if // Test again