X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fcheck-reset.php;h=cf6c67c6aa2e453babb1c695fd65f0710c01176e;hb=22a33b87f9894a94efb71de7630f12129e34f83b;hp=bef0aef20cc7459f4af5d9227362fbd75f0a2fab;hpb=f9a9c09e1ae257449bfd98f8854e321efba1dc3c;p=mailer.git diff --git a/inc/check-reset.php b/inc/check-reset.php index bef0aef20c..cf6c67c6aa 100644 --- a/inc/check-reset.php +++ b/inc/check-reset.php @@ -46,22 +46,8 @@ if ((date("d", getConfig('last_update')) != date("d", time())) && ((!defined('mx // Add more includes $INC_POOL = RESET_ADD_INCLUDES(); - // Is this not an array? - if (!is_array($INC_POOL)) { - // Log the error - DEBUG_LOG(basename(__FILE__).":INC_POOL is no array!"); - - // Skip further executions - return; - } // END - if - - // Run the full reset scripts - foreach ($INC_POOL as $incFile) { - require_once($incFile); - } // END - foreach - - // Remove array - unset($INC_POOL); + // Run the filter + RUN_FILTER('load_includes'); } // END - if //