]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool-update.php
More globals rewritten, see ticket #100
[mailer.git] / inc / pool-update.php
index cb2aefe1d6a6729f36c26492e255ee2d8d3e6115..256e16109e0cca3f026053a3f75f6d9c89a0ce58 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Sendet freigegebene Mails aus den Pool           *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -38,7 +43,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Don't run on daily reset
-if (defined('__DAILY_RESET')) {
+if (isResetModeEnabled()) {
        // Skip here
        return false;
 } // END - if
@@ -46,11 +51,12 @@ if (defined('__DAILY_RESET')) {
 // Init counter
 $GLOBALS['pool_cnt'] = 0;
 
-// Load more cache includes
-$INC_POOL = GET_DIR_AS_ARRAY("inc/pool/", "pool-");
+// Init & set the include pool
+INIT_INC_POOL();
+SET_INC_POOL(GET_DIR_AS_ARRAY("inc/pool/", "pool-"));
 
 // Run the filter
-runFilterChain('load_includes', $INC_POOL);
+runFilterChain('load_includes');
 
 // Remove counter again
 unset($GLOBALS['pool_cnt']);