$item = new WatchedItem(
$user,
$target,
- $row->wl_notificationtimestamp
+ wfTimestampOrNull( TS_MW, $row->wl_notificationtimestamp )
);
$this->cache( $item );
);
foreach ( $res as $row ) {
- $timestamps[$row->wl_namespace][$row->wl_title] = $row->wl_notificationtimestamp;
+ $timestamps[$row->wl_namespace][$row->wl_title] =
+ wfTimestampOrNull( TS_MW, $row->wl_notificationtimestamp );
}
return $timestamps;