Several rewrites/renames, fixes for installation. Resolves #104
[mailer.git] / inc / filters.php
index dd97fd99a2f7357ce55e0e0b491887550ced3c53..f48e19967b735678f8e08346cbe1dd5f8d1a810d 100644 (file)
@@ -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