From 48ba551f2064ac7983804b9edef4af21bc23c534 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 10 Aug 2011 17:40:20 +0000 Subject: [PATCH] This elseif() block has causes problems on installation phases and is now removed --- inc/filter-functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 1960dadff9..1924031205 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -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!'); } -- 2.30.2