aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
committerDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
commitc86b35da701674510a97ccc21e46581bd864cc31 (patch)
tree840a17f2f4a39e627578fe2bbc9c518cc04ab790 /Zotlabs/Lib
parentb2003e2c3cac231f92a23331bdbd21721403d4c9 (diff)
downloadvolse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.gz
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.bz2
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.zip
Move auto_save_draft to header from thread comment
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ThreadItem.php5
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;