aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/notification.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index b024d00fb..4fa3d712f 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -283,6 +283,12 @@
'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() {