diff options
author | Mario <mario@mariovavti.com> | 2024-07-22 19:07:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-22 19:07:19 +0000 |
commit | 4e35d342269be73a6d6561b8f7587b5edbb50346 (patch) | |
tree | f144ecdae8aefebc0e82b43c7d37b6ac82c536a5 /Zotlabs/Module/Settings/Conversation.php | |
parent | 3708896a658bb7ae8f61377bc85da0bc898a721e (diff) | |
download | volse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.tar.gz volse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.tar.bz2 volse-hubzilla-4e35d342269be73a6d6561b8f7587b5edbb50346.zip |
item buttons redesign - initial checkin
Diffstat (limited to 'Zotlabs/Module/Settings/Conversation.php')
-rw-r--r-- | Zotlabs/Module/Settings/Conversation.php | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Zotlabs/Module/Settings/Conversation.php b/Zotlabs/Module/Settings/Conversation.php index aa0ff6a7e..5f3d903a8 100644 --- a/Zotlabs/Module/Settings/Conversation.php +++ b/Zotlabs/Module/Settings/Conversation.php @@ -11,24 +11,19 @@ class Conversation { $module = substr(strrchr(strtolower(static::class), '\\'), 1); check_form_security_token_redirectOnErr('/settings/' . $module, 'settings_' . $module); - + $features = get_module_features($module); process_module_features_post(local_channel(), $features, $_POST); - + Libsync::build_sync_packet(); - - if($_POST['aj']) { - if($_POST['auto_update'] == 1) - info(t('Settings saved.') . EOL); - else - info(t('Settings saved. Reload page please.') . EOL); + if($_POST['aj']) { killme(); } - else { - return; - } + + return; + } function get() { @@ -48,7 +43,7 @@ class Conversation { '$features' => process_module_features_get(local_channel(), $features), '$submit' => t('Submit') )); - + if($aj) { echo $o; killme(); |