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:
bsitu 2012-12-12 12:25:54 -08:00
parent 825b5d7c34
commit 363f8e9dd1

View file

@ -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;
}