X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2Flogging%2FNewUsersLogFormatter.php;h=382e4adb5c534cce2ead5b8d777c90ac81bd1213;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hp=c870d51946fbc6a1221df237916799b83d7bfe73;hpb=9572559c93a7e953d12b61d196aa2c2296293397;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index c870d51946..382e4adb5c 100644 --- a/includes/logging/NewUsersLogFormatter.php +++ b/includes/logging/NewUsersLogFormatter.php @@ -59,10 +59,10 @@ class NewUsersLogFormatter extends LogFormatter { public function getPreloadTitles() { $subtype = $this->entry->getSubtype(); if ( $subtype === 'create2' || $subtype === 'byemail' ) { - //add the user talk to LinkBatch for the userLink - return array( Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ); + // add the user talk to LinkBatch for the userLink + return [ Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ]; } - return array(); + return []; } }