X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FNewUsersLogFormatter.php;h=c870d51946fbc6a1221df237916799b83d7bfe73;hb=396a76f2ff44d5597ce4187b19cc2a7639f7e1e2;hp=602728b4c4872510c3733baa589e0e4b3857a1ea;hpb=ea8a5e08c6fc48aff3e368b86e0888111fc5e172;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index 602728b4c4..c870d51946 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,6 +52,7 @@ class NewUsersLogFormatter extends LogFormatter { # not needed and can contain incorrect links return ''; } + return parent::getComment(); } @@ -60,6 +62,7 @@ class NewUsersLogFormatter extends LogFormatter { //add the user talk to LinkBatch for the userLink return array( Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ); } + return array(); } }