This elseif() block has causes problems on installation phases and is now removed
authorRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2011 17:40:20 +0000 (17:40 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2011 17:40:20 +0000 (17:40 +0000)
inc/filter-functions.php

index 1960dadff976e7530b416c28184d68e86169fc8b..1924031205bfac306f9d4272a8ab69c647502896 100644 (file)
@@ -225,10 +225,7 @@ function registerFilter ($filterName, $filterFunction, $silentAbort = true, $for
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'REGISTER: filterName=' . $filterName . ',filterFunction=' . $filterFunction);
                $GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction] = 'A';
                $GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = '0';
-       } elseif (($silentAbort === false) && (!function_exists($filterFunction))) {
-               // Please report them all!
-               debug_report_bug(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',filterFunction=' . $filterFunction . ',silentAbort=false,force=' . intval($force) . ',dry_run=' . intval($dry_run) . ' - NOT FOUND!');
-       }
+       } // END - if
 
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ENTRY: filterName=' . $filterName . ',filterFunction=' . $filterFunction . ' - EXIT!');
 }