X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpool-update.php;h=46c7002bc5baa1c9e225153d9a67b4a140712fff;hb=e3701377bd1dcae6ac39265f8c1bdd8d0fed7911;hp=93e986148ad7a6b01220de3b9790791d1705205e;hpb=c81e9ed85e01215e464d94446773bcd5e6699194;p=mailer.git diff --git a/inc/pool-update.php b/inc/pool-update.php index 93e986148a..46c7002bc5 100644 --- a/inc/pool-update.php +++ b/inc/pool-update.php @@ -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']);