Revert "Render dates as headings"

This reverts commit c2bb2a8fb4.

Change-Id: I1f6f71c0e7b397c3adf1629b78d52154cfbdfc20
This commit is contained in:
Bsitu 2013-07-02 22:08:06 +00:00
parent c2bb2a8fb4
commit 490b5ef737

View file

@ -56,9 +56,7 @@ class SpecialNotifications extends SpecialPage {
// Output the date header if it has not been displayed
if ( $dateHeader !== $row['timestamp']['date'] ) {
$dateHeader = $row['timestamp']['date'];
$notices .= Html::openElement( 'li' );
$notices .= Html::element( 'h2', array( 'class' => 'mw-echo-date-section' ), $dateHeader );
$notices .= Html::closeElement( 'li' );
$notices .= Html::rawElement( 'li', array( 'class' => 'mw-echo-date-section' ), $dateHeader );
}
$class = 'mw-echo-notification';