]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-payments.php
Swapped all
[mailer.git] / inc / loader / load-payments.php
index 8383a50411153213c49726143b317fc1bb293f23..c861e22df22827ba073ac09bfbf12a0834c8fbf9 100644 (file)
@@ -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)) {