X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=0ed9eaa5aea8db1f690a983a39ff4b2074faf6c5;hp=e8ce4032e5b57cb5f644ee6d42dab7720271380e;hpb=7cfec287d338c5b3af01b1a79881302505b3a795;p=mailer.git diff --git a/inc/loader/load_cache- b/inc/loader/load_cache- index e8ce4032e5..f551ef47b7 100644 --- a/inc/loader/load_cache- +++ b/inc/loader/load_cache- @@ -1,73 +1,3 @@ loadCacheFile('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) { - // Load cache - $GLOBALS['cache_array']['foo'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif (isHtmlMode()) { - // Create cache file - $GLOBALS['cache_instance']->init(); - - // Load every data from DB to cache file - $add = runFilterChain('sql_admin_extra_data'); - - // Query the database about this - $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_foos` ORDER BY `some_bar` ASC', __FILE__, __LINE__); - while ($dummy = SQL_FETCHARRAY($result)) { - // Save row - $GLOBALS['cache_instance']->addRow($dummy); - } // END - while - - // Free memory - SQL_FREERESULT($result); - - // Close cache - $GLOBALS['cache_instance']->storeExtensionVersion('foo'); - $GLOBALS['cache_instance']->finalize(); -} - -// [EOF] +// @DEPRECATED ?>