From: Alexandre Emsenhuber Date: Wed, 18 Jul 2012 10:10:13 +0000 (+0200) Subject: Use Linker::userToolLinksRedContribs() in LogFormatter. X-Git-Tag: 1.31.0-rc.0~23012 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=897b1cb2f644c9dd3d9b3b447e9c19f8a12a7e0c;p=lhc%2Fweb%2Fwiklou.git Use Linker::userToolLinksRedContribs() in LogFormatter. It is much more self-describing to use that method instead of Linker::userToolLinks() with true as third parameter. Change-Id: I30fbef2e06c7a835a66130cc54e10e114e286914 --- diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 93f3f83d40..a7c803d26c 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -509,11 +509,9 @@ class LogFormatter { ); if ( $this->linkFlood ) { - $element .= Linker::userToolLinks( + $element .= Linker::userToolLinksRedContribs( $user->getId(), $user->getName(), - true, // Red if no edits - 0, // Flags $user->getEditCount() ); }