mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 09:26:05 +00:00
Revert "Make timestamp in consistent format after loaded from database"
It should handle NULL
This reverts commit 31a986bebd
.
Change-Id: I202a7c6f8deaf0b6bbf3af1981f4f25077e916db
This commit is contained in:
parent
31a986bebd
commit
271d192f69
|
@ -185,8 +185,8 @@ class EchoNotification extends EchoAbstractEntity {
|
|||
$notification->targetPage = EchoTargetPage::newFromRow( $row );
|
||||
}
|
||||
$notification->user = User::newFromId( $row->notification_user );
|
||||
$notification->timestamp = wfTimestamp( TS_MW, $row->notification_timestamp );
|
||||
$notification->readTimestamp = wfTimestamp( TS_MW, $row->notification_read_timestamp );
|
||||
$notification->timestamp = $row->notification_timestamp;
|
||||
$notification->readTimestamp = $row->notification_read_timestamp;
|
||||
$notification->bundleBase = $row->notification_bundle_base;
|
||||
$notification->bundleHash = $row->notification_bundle_hash;
|
||||
$notification->bundleDisplayHash = $row->notification_bundle_display_hash;
|
||||
|
|
Loading…
Reference in a new issue