X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-refdepths.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=fb573d4c3d981d52fd969a6d7167d8dc839be688;hp=5b3b517e2ed14dc44571852c1ed54797c90ba4c1;hpb=e01fcf1ca8ddeb72af76465df3ef72301a1cdae7;p=mailer.git diff --git a/inc/loader/load_cache-refdepths.php b/inc/loader/load_cache-refdepths.php index 5b3b517e2e..f551ef47b7 100644 --- a/inc/loader/load_cache-refdepths.php +++ b/inc/loader/load_cache-refdepths.php @@ -1,72 +1,3 @@ loadCacheFile("refdepths")) && ($GLOBALS['cache_instance']->extensionVersionMatches("sql_patches"))) { - // Load referal system from cache - $GLOBALS['cache_array']['ref_depths'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif ((getConfig('cache_refdepth') == "Y") && ($GLOBALS['output_mode'] != "1") && ($GLOBALS['output_mode'] != "-1")) { - // Create cache file here - $GLOBALS['cache_instance']->init("REFDEPTHS"); - $GLOBALS['cache_instance']->storeExtensionVersion("sql_patches"); - - // Load all modules and their data - $result = SQL_QUERY("SELECT id, level, percents FROM `{!_MYSQL_PREFIX!}_refdepths` ORDER BY level", __FILE__, __LINE__); - while ($data = SQL_FETCHARRAY($result)) { - // Add row to cache file - $GLOBALS['cache_instance']->addRow($data); - } // END - while - - // Free memory - SQL_FREERESULT($result); - - // Close the cache - $GLOBALS['cache_instance']->finalize(); - - // Include loader again - require(__FILE__); -} - -// +// @DEPRECATED ?>