From: jenkins-bot Date: Wed, 4 Dec 2013 14:42:07 +0000 (+0000) Subject: Merge "Add deprecation warnings for log related methods" X-Git-Tag: 1.31.0-rc.0~17791 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=64308ea1074fc26f19f0ec696b7e496bfe19bf53;hp=-c;p=lhc%2Fweb%2Fwiklou.git Merge "Add deprecation warnings for log related methods" --- 64308ea1074fc26f19f0ec696b7e496bfe19bf53 diff --combined includes/logging/LogEventsList.php index aaf8e85661,e1f8e10c1d..2b1b81f5b5 --- a/includes/logging/LogEventsList.php +++ b/includes/logging/LogEventsList.php @@@ -63,6 -63,7 +63,7 @@@ class LogEventsList extends ContextSour * @return Title object */ public function getDisplayTitle() { + wfDeprecated( __METHOD__, '1.20' ); return $this->getTitle(); } @@@ -465,9 -466,9 +466,9 @@@ } return $user->isAllowed( $permission ); - } else { - return true; } + + return true; } /**