]> git.mxchange.org Git - mailer.git/blobdiff - inc/check-reset.php
Fixes for filter 'load_includes'
[mailer.git] / inc / check-reset.php
index bef0aef20cc7459f4af5d9227362fbd75f0a2fab..88335c12cce072a487cc0d14249df36b98cf7ac4 100644 (file)
@@ -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', $INC_POOL);
 } // END - if
 
 //