From 56336b0ee3ca50e28209213ecfefa2f0188e43ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 31 Jul 2013 02:02:33 +0000 Subject: [PATCH] Reverted last commit, was not possible as filter chains can run within filter chains --- inc/filter-functions.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/inc/filter-functions.php b/inc/filter-functions.php index f60544c24e..dc97d8ec41 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -435,21 +435,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; } -- 2.39.5