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:
bc0446e
)
fix and comparison in pingLimiter
author
bsitu
<bsitu@wikimedia.org>
Fri, 23 Mar 2012 23:57:05 +0000
(16:57 -0700)
committer
bsitu
<bsitu@wikimedia.org>
Fri, 23 Mar 2012 23:57:53 +0000
(16:57 -0700)
Change-Id: Ib8aa8ecf169acdf69c55f8c1dbce0d709fb9e852
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
90bef91
..
566dcc7
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-1517,7
+1517,7
@@
class User {
$count = $wgMemc->get( $key );
// Already pinged?
if( $count ) {
- if( $count > $max ) {
+ if( $count >
=
$max ) {
wfDebug( __METHOD__ . ": tripped! $key at $count $summary\n" );
if( $wgRateLimitLog ) {
wfSuppressWarnings();