X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=91c2f600b1d39c1317bccafba62e7a78ad4d8c14;hp=4ff35f91e6e2e5248d8df0c420ee905e223bb9ff;hpb=06d97fddd5c72e2b1c14ddb855b7eddc53f169a7;p=mailer.git diff --git a/inc/loader/load_cache- b/inc/loader/load_cache- index 4ff35f91e6..f551ef47b7 100644 --- a/inc/loader/load_cache- +++ b/inc/loader/load_cache- @@ -1,77 +1,3 @@ loadCacheFile('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) { - // Load cache - $GLOBALS['cache_array']['foo'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif (getOutputMode() != '1') { - // Create cache file - $GLOBALS['cache_instance']->init('FOO'); - - // 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?}_table` ORDER BY `some_column` 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(); - - // Include loader again - loadInclude('inc/loader/'.basename(__FILE__)); -} - -// [EOF] +// @DEPRECATED ?>