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:
4d83846
)
r91784 forgot to change one instance of $wgUser to $user
author
Platonides
<platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:21:11 +0000
(20:21 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:21:11 +0000
(20:21 +0000)
includes/RecentChange.php
patch
|
blob
|
history
diff --git
a/includes/RecentChange.php
b/includes/RecentChange.php
index
a2b9796
..
2819ce6
100644
(file)
--- a/
includes/RecentChange.php
+++ b/
includes/RecentChange.php
@@
-299,7
+299,7
@@
class RecentChange {
// Automatic patrol needs "autopatrol", ordinary patrol needs "patrol"
$right = $auto ? 'autopatrol' : 'patrol';
$errors = array_merge( $errors, $this->getTitle()->getUserPermissionsErrors( $right, $user ) );
- if( !wfRunHooks('MarkPatrolled', array($this->getAttribute('rc_id'), &$
wgU
ser, false)) ) {
+ if( !wfRunHooks('MarkPatrolled', array($this->getAttribute('rc_id'), &$
u
ser, false)) ) {
$errors[] = array('hookaborted');
}
// Users without the 'autopatrol' right can't patrol their