diff options
| author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-10 01:27:47 +0000 | 
|---|---|---|
| committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-10 01:27:47 +0000 | 
| commit | 3cfefb38a8e73f3b712e462fe784782b80edd9f9 (patch) | |
| tree | cbaf307820104c41ec309d36c504fec9f6605b10 /engine/lib | |
| parent | cb54b56f74048071bc07cc68d5d484b7e4111980 (diff) | |
| download | elgg-3cfefb38a8e73f3b712e462fe784782b80edd9f9.tar.gz elgg-3cfefb38a8e73f3b712e462fe784782b80edd9f9.tar.bz2 | |
do not register notification rest api calls by default since no other apis exposed not directly related to the api
git-svn-id: http://code.elgg.org/elgg/trunk@3650 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
| -rw-r--r-- | engine/lib/notification.php | 11 | 
1 files changed, 0 insertions, 11 deletions
| diff --git a/engine/lib/notification.php b/engine/lib/notification.php index ad65455f3..0e66e1ff9 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -304,17 +304,6 @@ function notification_init() {  	register_plugin_hook('usersettings:save','user','notification_user_settings_save');  	//register_action("notifications/settings/usersettings/save"); - -	// Register some APIs -	expose_function('user.notification.get', 'get_user_notification_settings', array( -		'user_guid' => array ('type' => 'int') -	), elgg_echo('user.notification.get')); - -	expose_function('user.notification.set', 'set_user_notification_settings', array( -		'user_guid' => array ('type' => 'int'), -		'method' => array ('type' => 'string'), -		'value' => array ('type' => 'bool') -	), elgg_echo('user.notification.set'));  }  function notification_user_settings_save() { | 
