aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/notification.php11
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() {