From: Ricordisamoa Date: Tue, 9 Dec 2014 19:27:30 +0000 (+0000) Subject: Remove obsolete note from Title->canExist() X-Git-Tag: 1.31.0-rc.0~12990^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=c2b916d69b29ca608ac67f2080deea258aea64ee;p=lhc%2Fweb%2Fwiklou.git Remove obsolete note from Title->canExist() A bit of history: * when added by Aaron Schulz with commit df1f744757b0ce695e6aa1e4a28f6c50fe6d8e20, the method made use of a hardcoded `0`; * Lisa Ridley noted that with commit bc1023ac89f9214c6510d97869fb4f280084995f by adding "uses hardcoded namespace index instead of constants"; * Max Semenik changed `0` to `NS_MAIN`, thus making the comment obsolete, with commit a35fe1f5f2f8eda52a93eb974516c3b65918c819. Change-Id: I0c2dad773219da80cc4db04ad6a8007a03207e5c --- diff --git a/includes/Title.php b/includes/Title.php index 638da08581..e9fcf9a981 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1044,7 +1044,6 @@ class Title { * Is this in a namespace that allows actual pages? * * @return bool - * @internal note -- uses hardcoded namespace index instead of constants */ public function canExist() { return $this->mNamespace >= NS_MAIN;