aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-29 13:29:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-29 13:29:48 +0000
commit84056320b7dfceb6ec721b39b10b022f7ab58787 (patch)
tree103a73f5db53043c307046b2ac6654da232bb149 /engine/lib
parent0972beea0a22861b5da08b4cfe5aed03cd6dd8b3 (diff)
downloadelgg-84056320b7dfceb6ec721b39b10b022f7ab58787.tar.gz
elgg-84056320b7dfceb6ec721b39b10b022f7ab58787.tar.bz2
Set the notification settings
git-svn-id: https://code.elgg.org/elgg/trunk@2146 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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() {