aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-03 17:29:07 -0800
committerfriendica <info@friendica.com>2012-01-03 17:29:07 -0800
commit969cd145ce0e717399dbfff6cbc1a45342206e1a (patch)
tree0cb293580fa177c9fd2c089104b46a9840d34db1 /mod/settings.php
parentc583d1620955b8d170b8cbf7a106cefeecad56c8 (diff)
downloadvolse-hubzilla-969cd145ce0e717399dbfff6cbc1a45342206e1a.tar.gz
volse-hubzilla-969cd145ce0e717399dbfff6cbc1a45342206e1a.tar.bz2
volse-hubzilla-969cd145ce0e717399dbfff6cbc1a45342206e1a.zip
suggestion notifications
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 35902f831..8ca0bb7f8 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -255,6 +255,10 @@ function settings_post(&$a) {
$notify += intval($_POST['notify4']);
if(x($_POST,'notify5'))
$notify += intval($_POST['notify5']);
+ if(x($_POST,'notify6'))
+ $notify += intval($_POST['notify6']);
+ if(x($_POST,'notify7'))
+ $notify += intval($_POST['notify7']);
$email_changed = false;
@@ -807,7 +811,7 @@ function settings_content(&$a) {
'$notify3' => array('notify3', t('Someone writes on your profile wall'), ($notify & NOTIFY_WALL), NOTIFY_WALL, ''),
'$notify4' => array('notify4', t('Someone writes a followup comment'), ($notify & NOTIFY_COMMENT), NOTIFY_COMMENT, ''),
'$notify5' => array('notify5', t('You receive a private message'), ($notify & NOTIFY_MAIL), NOTIFY_MAIL, ''),
-
+ '$notify6' => array('notify6', t('You receive a friend suggestion'), ($notify & NOTIFY_SUGGEST), NOTIFY_SUGGEST, ''),
'$h_advn' => t('Advanced Page Settings'),