X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=27a7b607c0f749c23e5ad7525da85cf7e6616c3b;hb=82c5c7d37ee00f628b4fdd445f7fc453523ed1dd;hp=f60544c24efde8321a941cc8ce1882d97d75a557;hpb=10e3416034d830eccbd19feb2a32853da941e224;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index f60544c24e..27a7b607c0 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Funktionen fuer Filter-System * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -106,11 +101,11 @@ ORDER BY registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_CONFIGURATION'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOMIZER'); registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_RUNTIME_INCLUDES'); + registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_LANGUAGE'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_EXTENSIONS'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_SESSION'); registerFilter(__FUNCTION__, __LINE__, 'init', 'SET_CURRENT_DATE'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOM_NUMBER'); - registerFilter(__FUNCTION__, __LINE__, 'init', 'CHECK_REPOSITORY_REVISION'); registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_HOURLY_RESET'); registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_DAILY_RESET'); registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_WEEKLY_RESET'); @@ -297,7 +292,7 @@ function runFilterChain ($filterName, $filterData = NULL) { // Is that filter chain there? if (!isset($GLOBALS['cache_array']['filter']['chains'][$filterName])) { - // Log not found filters in debug-mode + // Filter chain not found filters in debug-mode if (isDebugModeEnabled()) { // Log it away... logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' does not exist.'); @@ -435,21 +430,13 @@ function isFilterChainAborted () { } // Interrupts the filter chain by enabling flag 'filter_chain_aborted' -// @TODO Add a filter chain here? E.g.: 'filter_chain_interrupted' function interruptFilterChain () { - // Make sure that interrupted filter chains are not interrupted twice - assert((!isset($GLOBALS['filter_chain_interrupted'])) || ($GLOBALS['filter_chain_interrupted'] === FALSE)); - // Set it $GLOBALS['filter_chain_interrupted'] = TRUE; } // Continues the filter chain by disabling flag 'filter_chain_aborted' -// @TODO Add a filter chain here? E.g.: 'filter_chain_continued' function continueFilterChain () { - // Make sure that continued filter chains are not continued twice - assert((!isset($GLOBALS['filter_chain_interrupted'])) || ($GLOBALS['filter_chain_interrupted'] === TRUE)); - // Set it $GLOBALS['filter_chain_interrupted'] = FALSE; }