X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-earning.php;h=fabe21e6580ba8301504772fd05774f248f172c2;hb=8202991f32bfb2056e94a11746c0b5308fe4a273;hp=74ae2c1a4f3f1e90b4d1d473df7a4bed81a10635;hpb=fc3dd03db818fcfcf068ad8c9a21c25c1dbb2812;p=mailer.git diff --git a/inc/loader/load-earning.php b/inc/loader/load-earning.php index 74ae2c1a4f..fabe21e658 100644 --- a/inc/loader/load-earning.php +++ b/inc/loader/load-earning.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -44,10 +44,10 @@ if (!defined('__SECURITY')) { } // Let's start with the admins table... -if (($GLOBALS['cache_instance']->loadCacheFile('earning')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) { +if (($GLOBALS['cache_instance']->loadCacheFile('earning')) && ($GLOBALS['cache_instance']->extensionVersionMatches('earning'))) { // Load cache $GLOBALS['cache_array']['earning'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif ((isHtmlOutputMode()) && (isExtensionInstalledAndNewer('sql_patches', '0.8.5'))) { +} elseif ((isHtmlOutputMode()) && (isExtensionInstalled('earning'))) { // Create cache file $GLOBALS['cache_instance']->init(); @@ -62,7 +62,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('earning')) && ($GLOBALS['cache_i SQL_FREERESULT($result); // Close cache - $GLOBALS['cache_instance']->storeExtensionVersion('sql_patches'); + $GLOBALS['cache_instance']->storeExtensionVersion('earning'); $GLOBALS['cache_instance']->finalize(); }