X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilters.php;h=f48e19967b735678f8e08346cbe1dd5f8d1a810d;hp=dd97fd99a2f7357ce55e0e0b491887550ced3c53;hb=c78089215285d52d483760699d07a96dfbbe0671;hpb=e72031bcfdcd8e91f62bec6cc88f36b7a11d9221 diff --git a/inc/filters.php b/inc/filters.php index dd97fd99a2..f48e19967b 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -185,7 +185,7 @@ function UNREGISTER_FILTER ($filterName, $filterFunction, $force = false, $dry_r } // "Runs" the given filters, data is optional and can be any type of data -function RUN_FILTER ($filterName, $data = null, $silentAbort = true) { +function runFilterChain ($filterName, $data = null, $silentAbort = true) { // Is that filter chain there? if (!isset($GLOBALS['filters']['chains'][$filterName])) { // Then abort here (quick'N'dirty hack) @@ -310,7 +310,7 @@ function FILTER_FLUSH_FILTERS () { } // END - if // Run the run_sqls filter in non-dry mode - RUN_FILTER('run_sqls', array('dry_run' => false)); + runFilterChain('run_sqls'); } // Filter for calling the handler for login failures