mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
Remove 'extra' data from API result
1. We are not using 'extra' in API calls. 2. In some cases, we are storing private information in 'extra' data, this would expose those information Change-Id: I3d8e03c3e01b1cc8832ac98d85a3a74e41865913
This commit is contained in:
parent
825b5d7c34
commit
363f8e9dd1
|
@ -168,10 +168,6 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
);
|
||||
}
|
||||
|
||||
if ( $event->getExtra() ) {
|
||||
$thisEvent['extra'] = $event->getExtra();
|
||||
}
|
||||
|
||||
if ( $row->notification_read_timestamp ) {
|
||||
$thisEvent['read'] = $row->notification_read_timestamp;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue