dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "HashRing: use bisection instead of guess and refine"
[lhc/web/wiklou.git]
/
includes
/
logging
/
PatrolLog.php
diff --git
a/includes/logging/PatrolLog.php
b/includes/logging/PatrolLog.php
index
d1de2cd
..
9b2e098
100644
(file)
--- a/
includes/logging/PatrolLog.php
+++ b/
includes/logging/PatrolLog.php
@@
-27,6
+27,7
@@
* logs of patrol events
*/
class PatrolLog {
* logs of patrol events
*/
class PatrolLog {
+
/**
* Record a log event for a change being patrolled
*
/**
* Record a log event for a change being patrolled
*
@@
-39,10
+40,8
@@
class PatrolLog {
* @return bool
*/
public static function record( $rc, $auto = false, User $user = null, $tags = null ) {
* @return bool
*/
public static function record( $rc, $auto = false, User $user = null, $tags = null ) {
- global $wgLogAutopatrol;
-
- // do not log autopatrolled edits if setting disables it
- if ( $auto && !$wgLogAutopatrol ) {
+ // Do not log autopatrol actions: T184485
+ if ( $auto ) {
return false;
}
return false;
}