Index: trunk/extensions/LastUserLogin/LastUserLogin_body.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | |
71 | 71 | $out = '<table width="100%" cellpadding="3" ' . $style . '><tr>'; |
72 | 72 | |
73 | | - $title = Title::makeTitle( NS_SPECIAL, 'LastUserLogin' ); |
| 73 | + $title = $this->getTitle(); |
74 | 74 | |
75 | 75 | foreach ( $fields as $key => $value ) { |
76 | 76 | $out .= '<th ' . $style . '><a href="' . $title->escapeLocalURL( array("order_by"=>$key, "order_type"=>$ordertype) ) . '">' . wfMsg( $value ) . '</a></th>'; |
— | — | @@ -98,7 +98,6 @@ |
99 | 99 | } |
100 | 100 | $out .= '</tr>'; |
101 | 101 | } |
102 | | - $dbr->freeResult($res); |
103 | 102 | } |
104 | 103 | |
105 | 104 | $out .= '</table>'; |