X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-payments.php;h=c861e22df22827ba073ac09bfbf12a0834c8fbf9;hb=0ed9eaa5aea8db1f690a983a39ff4b2074faf6c5;hp=8383a50411153213c49726143b317fc1bb293f23;hpb=b6a6d0a2c0a0f274b937eb75c413db8fa9b44f9c;p=mailer.git diff --git a/inc/loader/load-payments.php b/inc/loader/load-payments.php index 8383a50411..c861e22df2 100644 --- a/inc/loader/load-payments.php +++ b/inc/loader/load-payments.php @@ -39,8 +39,8 @@ if (!defined('__SECURITY')) { die(); } elseif (isInstallationPhase()) { - // Use this code if you don't want to run this cache loader on installation phase - return; + // Do not run in installation phase + return FALSE; } // Let's start with the admins table... @@ -70,9 +70,6 @@ if (($GLOBALS['cache_instance']->loadCacheFile('payments')) && ($GLOBALS['cache_ // 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?}_payments` ORDER BY `id` ASC', __FILE__, __LINE__); while ($dummy = SQL_FETCHARRAY($result)) {