aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-04 01:27:50 -0700
committerfriendica <info@friendica.com>2013-06-04 01:27:50 -0700
commit9f15600c7c426c4f557809ed2036802381e5bf12 (patch)
tree5887bdf28fbfeaaaaa4789043708e977e0a970c9 /mod/settings.php
parent21491100f834372545569035e525ab74fc64cf26 (diff)
downloadvolse-hubzilla-9f15600c7c426c4f557809ed2036802381e5bf12.tar.gz
volse-hubzilla-9f15600c7c426c4f557809ed2036802381e5bf12.tar.bz2
volse-hubzilla-9f15600c7c426c4f557809ed2036802381e5bf12.zip
community tagging - it's not much closer to working but a really good developer can now possibly hack their way through it instead of "there's only one person on the planet that can ever make this work".
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 5ee6b5d15..f417586af 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -456,6 +456,7 @@ function settings_post(&$a) {
set_pconfig(local_user(),'system','post_newfriend', $post_newfriend);
set_pconfig(local_user(),'system','post_joingroup', $post_joingroup);
set_pconfig(local_user(),'system','post_profilechange', $post_profilechange);
+ set_pconfig(local_user(),'system','blocktags',$blocktags);
/*
if($page_flags == PAGE_PRVGROUP) {
@@ -907,7 +908,6 @@ function settings_content(&$a) {
$expire = $channel['channel_expire_days'];
$blockwall = $a->user['blockwall'];
- $blocktags = $a->user['blocktags'];
$unkmail = $a->user['unkmail'];
$cntunkmail = $a->user['cntunkmail'];
@@ -939,6 +939,8 @@ function settings_content(&$a) {
$post_profilechange = get_pconfig(local_user(), 'system','post_profilechange');
$post_profilechange = (($post_profilechange===false)? '0': $post_profilechange); // default if not set: 0
+ $blocktags = get_pconfig(local_user(),'system','blocktags');
+ $blocktags = (($blocktags===false) ? '0' : $blocktags);
$timezone = date_default_timezone_get();