From: Ævar Arnfjörð Bjarmason Date: Sat, 24 Dec 2005 23:05:18 +0000 (+0000) Subject: * Adding a hook to Parser::clearState() (ParserClearState) X-Git-Tag: 1.6.0~889 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9fa2e3e42994025d5c034b5f3301ee0f7d1c26ff;p=lhc%2Fweb%2Fwiklou.git * Adding a hook to Parser::clearState() (ParserClearState) --- diff --git a/includes/Parser.php b/includes/Parser.php index 5fa67cf4d8..769445963e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -151,6 +151,8 @@ class Parser ); $this->mRevisionId = null; $this->mUniqPrefix = 'UNIQ' . Parser::getRandomString(); + + wfRunHooks( 'ParserClearState', array( &$this ) ); } /**