From: Platonides Date: Tue, 4 Jun 2013 21:30:16 +0000 (+0200) Subject: Follow-up 05077dc3740 X-Git-Tag: 1.31.0-rc.0~19494 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=57daf1d62f374b83655714e15066f979df4bfee6;p=lhc%2Fweb%2Fwiklou.git Follow-up 05077dc3740 * s/___METHOD__/__METHOD__/ * Remove the mention to cur table as deprecation reason, since it is obviously not trying to use cur (removed in 1.5), this code is clearly newer (expecting data from a mixture of tables), although using an old interface. Change-Id: I0b4fdf7de4f56c1100ef3cdd7705e8f6701bc7cf --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 65bc733e42..24db569a4b 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -96,12 +96,12 @@ class RecentChange { } /** - * @deprecated in 1.22 (cur table no longer exists) + * @deprecated in 1.22 * @param $row * @return RecentChange */ public static function newFromCurRow( $row ) { - wfDeprecated( ___METHOD__ , '1.22' ); + wfDeprecated( __METHOD__, '1.22' ); $rc = new RecentChange; $rc->loadFromCurRow( $row ); $rc->notificationtimestamp = false; @@ -659,11 +659,11 @@ class RecentChange { /** * Makes a pseudo-RC entry from a cur row * - * @deprected in 1.22 (cur table no longer exists) + * @deprected in 1.22 * @param $row */ public function loadFromCurRow( $row ) { - wfDeprecated( ___METHOD__ , '1.22' ); + wfDeprecated( __METHOD__, '1.22' ); $this->mAttribs = array( 'rc_timestamp' => wfTimestamp( TS_MW, $row->rev_timestamp ), 'rc_cur_time' => $row->rev_timestamp,