dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
403b4fe
)
deprecate ChangesList::usePatrol
author
aude
<aude.wiki@gmail.com>
Tue, 2 Jul 2013 09:29:12 +0000
(09:29 +0000)
committer
aude
<aude.wiki@gmail.com>
Tue, 2 Jul 2013 15:15:24 +0000
(15:15 +0000)
not used anywhere in core, not used in wmf-enabled extensions,
and used little or not at all elsewhere.
Change-Id: I9957696f025190d863a472e4512eb214b9cb5ada
includes/ChangesList.php
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
ab851fa
..
dee8bf7
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-456,10
+456,15
@@
class ChangesList extends ContextSource {
/**
* Check whether to enable recent changes patrol features
+ *
+ * @deprecated since 1.22
* @return Boolean
*/
public static function usePatrol() {
global $wgUser;
+
+ wfDeprecated( __METHOD__, '1.22' );
+
return $wgUser->useRCPatrol();
}