Make the automatic title appending optional

This commit is contained in:
Michael
2019-11-19 12:59:21 +00:00
parent 91491dd798
commit fa876d770e
4 changed files with 7 additions and 1 deletions
+3
View File
@@ -240,6 +240,7 @@ function settings_post(App $a)
PConfig::set(local_user(), 'system', 'disable_cw', intval($_POST['disable_cw']));
PConfig::set(local_user(), 'system', 'no_intelligent_shortening', intval($_POST['no_intelligent_shortening']));
PConfig::set(local_user(), 'system', 'ostatus_autofriend', intval($_POST['snautofollow']));
PConfig::set(local_user(), 'system', 'append_title', intval($_POST['append_title']));
PConfig::set(local_user(), 'ostatus', 'default_group', $_POST['group-selection']);
PConfig::set(local_user(), 'ostatus', 'legacy_contact', $_POST['legacy_contact']);
} elseif (!empty($_POST['imap-submit'])) {
@@ -783,6 +784,7 @@ function settings_content(App $a)
$disable_cw = intval(PConfig::get(local_user(), 'system', 'disable_cw'));