X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpool-update.php;h=46c7002bc5baa1c9e225153d9a67b4a140712fff;hb=2e9e34b22b8354dba7c0bd699e5486e99a64bc58;hp=b2fd7c8ca84b45e89504b5f213f927173fef4b41;hpb=29720f825150b6449a9bf5cb2024b65e5e86bd2d;p=mailer.git diff --git a/inc/pool-update.php b/inc/pool-update.php index b2fd7c8ca8..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(PATH."inc/pool/", "pool-"); - // Run the filter -RUN_FILTER('load_includes'); +runFilterChain('load_includes', GET_DIR_AS_ARRAY("inc/pool/", "pool-")); // Remove counter again unset($GLOBALS['pool_cnt']);