Index: trunk/extensions/MoodBar/SpecialFeedbackDashboard.php |
— | — | @@ -250,7 +250,7 @@ |
251 | 251 | * @return string HTML |
252 | 252 | */ |
253 | 253 | protected static function getHiddenFooter( $feedbackItem, $mode ) { |
254 | | - global $wgLang, $wgUser; |
| 254 | + global $wgLang; |
255 | 255 | |
256 | 256 | $id = $feedbackItem->getProperty('id'); |
257 | 257 | $permalinkTitle = SpecialPage::getTitleFor( 'FeedbackDashboard', $id ); |
— | — | @@ -262,12 +262,11 @@ |
263 | 263 | $link = Xml::tags( 'span', array( 'class' => 'fbd-item-restore' ), "($link)" ); |
264 | 264 | |
265 | 265 | $feedback_hidden_detail = self::getFeedbackHiddenDetail($id); |
266 | | - $timestamp = wfTimestamp( TS_DB, $feedback_hidden_detail->log_timestamp ); |
267 | 266 | |
268 | 267 | $footer = wfMessage('moodbar-hidden-footer')-> |
269 | 268 | rawParams( htmlspecialchars( $feedback_hidden_detail->log_user_text ), |
270 | | - $wgLang->userDate($timestamp, $wgUser), |
271 | | - $wgLang->userTime($timestamp, $wgUser), |
| 269 | + $wgLang->date($feedback_hidden_detail->log_timestamp), |
| 270 | + $wgLang->time($feedback_hidden_detail->log_timestamp), |
272 | 271 | htmlspecialchars( $feedback_hidden_detail->log_comment ), |
273 | 272 | $link )->escaped(); |
274 | 273 | return Xml::tags( 'div', array( 'class' => 'error' ), $footer ); |