Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | $nt = $userObj->getUserPage(); |
226 | 226 | $talk = $userObj->getTalkPage(); |
227 | 227 | if ( $talk ) { |
228 | | - $tools = self::getUserLinks( $nt, $talk, $userObj, $this->getUser() ); |
| 228 | + $tools = $this->getUserLinks( $nt, $talk, $userObj, $this->getUser() ); |
229 | 229 | $links = $this->getLanguage()->pipeList( $tools ); |
230 | 230 | |
231 | 231 | // Show a note if the user is blocked and display the last block log entry. |
— | — | @@ -270,7 +270,7 @@ |
271 | 271 | * @param $subject User: The viewing user ($wgUser might be still checked in some cases) |
272 | 272 | * @return array |
273 | 273 | */ |
274 | | - public static function getUserLinks( Title $userpage, Title $talkpage, User $target, User $subject ) { |
| 274 | + public function getUserLinks( Title $userpage, Title $talkpage, User $target, User $subject ) { |
275 | 275 | |
276 | 276 | $id = $target->getId(); |
277 | 277 | $username = $target->getName(); |