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
Make autopatrol third option in rc_patrolled and use it in API
[lhc/web/wiklou.git]
/
includes
/
logging
/
LogEntry.php
diff --git
a/includes/logging/LogEntry.php
b/includes/logging/LogEntry.php
index
80a138d
..
c672ef7
100644
(file)
--- a/
includes/logging/LogEntry.php
+++ b/
includes/logging/LogEntry.php
@@
-785,7
+785,7
@@
class ManualLogEntry extends LogEntryBase {
// Log the autopatrol if the log entry is patrollable
if ( $this->getIsPatrollable() &&
- $rc->getAttribute( 'rc_patrolled' ) ===
1
+ $rc->getAttribute( 'rc_patrolled' ) ===
2
) {
PatrolLog::record( $rc, true, $this->getPerformer() );
}