From 9fa2e3e42994025d5c034b5f3301ee0f7d1c26ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 24 Dec 2005 23:05:18 +0000 Subject: [PATCH] * Adding a hook to Parser::clearState() (ParserClearState) --- includes/Parser.php | 2 ++ 1 file changed, 2 insertions(+) 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 ) ); } /** -- 2.20.1