]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool-update.php
Fixes/rewrites for 'dublicate entry' bug
[mailer.git] / inc / pool-update.php
index 93e986148ad7a6b01220de3b9790791d1705205e..46c7002bc5baa1c9e225153d9a67b4a140712fff 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Don't run on daily reset
-if (defined('__DAILY_RESET')) {
+if (isResetModeEnabled()) {
        // Skip here
        return false;
 } // END - if
@@ -46,11 +46,8 @@ if (defined('__DAILY_RESET')) {
 // Init counter
 $GLOBALS['pool_cnt'] = 0;
 
-// Load more cache includes
-$INC_POOL = GET_DIR_AS_ARRAY(constant('PATH')."inc/pool/", "pool-");
-
 // Run the filter
-RUN_FILTER('load_includes', $INC_POOL);
+runFilterChain('load_includes', GET_DIR_AS_ARRAY("inc/pool/", "pool-"));
 
 // Remove counter again
 unset($GLOBALS['pool_cnt']);