X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-impressum.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=d209e76db84001db79168347308dac1cd855c489;hp=ce165d830e4b7f4f62435fb148064019b6438193;hpb=21f5c300431f4d667b2d197a69714c63ba37b950;p=mailer.git diff --git a/inc/loader/load_cache-impressum.php b/inc/loader/load_cache-impressum.php index ce165d830e..f551ef47b7 100644 --- a/inc/loader/load_cache-impressum.php +++ b/inc/loader/load_cache-impressum.php @@ -1,80 +1,3 @@ loadCacheFile('imprint')) && ($GLOBALS['cache_instance']->extensionVersionMatches('imprint'))) { - // Load cache - $GLOBALS['cache_array']['imprint'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif (getOutputMode() != '1') { - // Create cache file - $GLOBALS['cache_instance']->init('imprint'); - - // 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?}_imprint_data` ORDER BY `imprint_id` 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('imprint'); - $GLOBALS['cache_instance']->finalize(); - - // Include loader again - loadInclude('inc/loader/'.basename(__FILE__)); -} - -// [EOF] +// @DEPRECATED ?>