Index: trunk/phase3/includes/Title.php |
— | — | @@ -4164,21 +4164,7 @@ |
4165 | 4165 | * @return Bool |
4166 | 4166 | */ |
4167 | 4167 | public function isKnown() { |
4168 | | - $isKnown = null; |
4169 | | - |
4170 | | - /** |
4171 | | - * Allows overriding default behaviour for determining if a page exists. |
4172 | | - * If $isKnown is kept as null, regular checks happen. If it's |
4173 | | - * a boolean, this value is returned by the isKnown method. |
4174 | | - * |
4175 | | - * @since 1.19 |
4176 | | - * |
4177 | | - * @param Title $title |
4178 | | - * @param boolean|null $isKnown |
4179 | | - */ |
4180 | | - wfRunHooks( 'TitleIsKnown', array( $this, &$isKnown ) ); |
4181 | | - |
4182 | | - return is_null( $isKnown ) ? ( $this->isAlwaysKnown() || $this->exists() ) : $isKnown; |
| 4168 | + return $this->isAlwaysKnown() || $this->exists(); |
4183 | 4169 | } |
4184 | 4170 | |
4185 | 4171 | /** |