diff options
author | Mario <mario@mariovavti.com> | 2019-11-28 09:30:57 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-11-28 09:30:57 +0100 |
commit | f2c73c0f45787a361f9fd57831a00c34e660fbd9 (patch) | |
tree | e99d7e74db23a916cba86a1527f6fcee82a0c2b3 /Zotlabs/Lib/ThreadItem.php | |
parent | 78492d0037aacb829dd0cea13526f3631e8cf945 (diff) | |
parent | c86b35da701674510a97ccc21e46581bd864cc31 (diff) | |
download | volse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.tar.gz volse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.tar.bz2 volse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.zip |
Merge branch 'fix-listmode-spinner' into 'dev'
Move auto_save_draft to header from thread comment
See merge request hubzilla/core!1793
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 0f59953dc..32cd52751 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -789,8 +789,6 @@ class ThreadItem { call_hooks('comment_buttons',$arr); $comment_buttons = $arr['comment_buttons']; - $feature_auto_save_draft = ((feature_enabled($conv->get_profile_owner(), 'auto_save_draft')) ? "true" : "false"); - $comment_box = replace_macros($template,array( '$return_path' => '', '$threaded' => $this->is_threaded(), @@ -825,8 +823,7 @@ class ThreadItem { '$anoncomments' => ((($conv->get_mode() === 'channel' || $conv->get_mode() === 'display') && perm_is_allowed($conv->get_profile_owner(),'','post_comments')) ? true : false), '$anonname' => [ 'anonname', t('Your full name (required)') ], '$anonmail' => [ 'anonmail', t('Your email address (required)') ], - '$anonurl' => [ 'anonurl', t('Your website URL (optional)') ], - '$auto_save_draft' => $feature_auto_save_draft + '$anonurl' => [ 'anonurl', t('Your website URL (optional)') ] )); return $comment_box; |