From 363f8e9dd14f158b6642117921de7adc87f5e608 Mon Sep 17 00:00:00 2001 From: bsitu Date: Wed, 12 Dec 2012 12:25:54 -0800 Subject: [PATCH] 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 --- api/ApiEchoNotifications.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php index 5784719d3..f69c929ce 100644 --- a/api/ApiEchoNotifications.php +++ b/api/ApiEchoNotifications.php @@ -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; }