X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flogging%2FNewUsersLogFormatter.php;h=b7068a08a0c3043f577a8d02de31037f94511d08;hb=808b957704591b70bc65fed0bd8c1d077818b541;hp=602728b4c4872510c3733baa589e0e4b3857a1ea;hpb=b8f9b16b84155ac4b764816d82f11a0476065c73;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index 602728b4c4..b7068a08a0 100644 --- a/includes/logging/NewUsersLogFormatter.php +++ b/includes/logging/NewUsersLogFormatter.php @@ -41,6 +41,7 @@ class NewUsersLogFormatter extends LogFormatter { $params[2] = Message::rawParam( $this->makeUserLink( $target ) ); $params[3] = $target->getName(); } + return $params; } @@ -51,15 +52,17 @@ class NewUsersLogFormatter extends LogFormatter { # not needed and can contain incorrect links return ''; } + return parent::getComment(); } public function getPreloadTitles() { $subtype = $this->entry->getSubtype(); if ( $subtype === 'create2' || $subtype === 'byemail' ) { - //add the user talk to LinkBatch for the userLink + // add the user talk to LinkBatch for the userLink return array( Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ); } + return array(); } }