From 3cfefb38a8e73f3b712e462fe784782b80edd9f9 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 10 Nov 2009 01:27:47 +0000 Subject: 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 --- engine/lib/notification.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'engine/lib/notification.php') 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() { -- cgit v1.2.3