dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a510a1c
)
Merge "Remove block cookie stats measurement implementation"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 19 Mar 2019 19:35:57 +0000
(19:35 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 19 Mar 2019 19:35:57 +0000
(19:35 +0000)
includes/user/User.php
patch
|
blob
|
history
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
a5f48a7
..
786f288
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-1414,10
+1414,6
@@
class User implements IDBAccessObject, UserIdentity {
] );
if ( $shouldSetCookie ) {
$block->setCookie( $this->getRequest()->response() );
-
- // temporary measure the use of cookies on ip blocks
- $stats = MediaWikiServices::getInstance()->getStatsdDataFactory();
- $stats->increment( 'block.ipblock.setCookie.success' );
}
} elseif ( $this->isLoggedIn() && $config->get( 'CookieSetOnAutoblock' ) ) {
$shouldSetCookie = $block->getType() === Block::TYPE_USER && $block->isAutoblocking();