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:
4180eea
)
Actually, leave usePatrol() stub for b/c
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:55:10 +0000
(17:55 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:55:10 +0000
(17:55 +0000)
includes/ChangesList.php
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
294a6b4
..
cb609d1
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-240,6
+240,15
@@
class ChangesList {
}
}
}
+
+ /**
+ * Check whether to enable recent changes patrol features
+ * @return bool
+ */
+ public static function usePatrol() {
+ global $wgUser;
+ return $wgUser->useRCPatrol();
+ }
/**
* Returns the string which indicates the number of watching users