Index: trunk/extensions/MoodBar/include/MoodBarUtil.php |
— | — | @@ -58,8 +58,7 @@ |
59 | 59 | $messageKey = $displayBlock; |
60 | 60 | } |
61 | 61 | |
62 | | - return wfMessage( $messageKey )->inLanguage( $wgLang ) |
63 | | - ->params( $wgLang->formatNum( $displayTime ) )->escaped(); |
| 62 | + return wfMessage( $messageKey )->params( $wgLang->formatNum( $displayTime ) )->escaped(); |
64 | 63 | |
65 | 64 | } else { |
66 | 65 | return wfMessage( 'moodbar-seconds' )->escaped(); |
Index: trunk/extensions/MoodBar/SpecialFeedbackDashboard.php |
— | — | @@ -82,7 +82,7 @@ |
83 | 83 | $dbr = wfGetDB( DB_SLAVE ); |
84 | 84 | $res = $dbr->select( array( 'moodbar_feedback' ), |
85 | 85 | array( 'mbf_type', 'COUNT(*) AS number' ), |
86 | | - array( 'mbf_hidden_state' => 0, 'mbf_timestamp > ' . $dbr->addQuotes( wfTimestamp( TS_MW, $timestamp ) ) ), |
| 86 | + array( 'mbf_hidden_state' => 0, 'mbf_timestamp > ' . $dbr->addQuotes( $dbr->timestamp( $timestamp ) ) ), |
87 | 87 | __METHOD__, |
88 | 88 | array( 'GROUP BY' => 'mbf_type' ) |
89 | 89 | ); |