From 3bc0f8cf500c81fa0c5aca88672d5e91aee87290 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 30 Jan 2012 13:54:43 +0000 Subject: [PATCH] Revert r110285, r110286. No new features in core during slush. Consider recommit after 1.19 is branched, and please add hooks.txt documentation, too. --- includes/Title.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index 6041c0e1f9..b91c55c1d8 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -4164,21 +4164,7 @@ class Title { * @return Bool */ public function isKnown() { - $isKnown = null; - - /** - * Allows overriding default behaviour for determining if a page exists. - * If $isKnown is kept as null, regular checks happen. If it's - * a boolean, this value is returned by the isKnown method. - * - * @since 1.19 - * - * @param Title $title - * @param boolean|null $isKnown - */ - wfRunHooks( 'TitleIsKnown', array( $this, &$isKnown ) ); - - return is_null( $isKnown ) ? ( $this->isAlwaysKnown() || $this->exists() ) : $isKnown; + return $this->isAlwaysKnown() || $this->exists(); } /** -- 2.20.1