aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photos.php
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/Module/Photos.php
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/Module/Photos.php')
-rw-r--r--Zotlabs/Module/Photos.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index 13ec64ab9..43c9f86ee 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -1080,7 +1080,6 @@ class Photos extends \Zotlabs\Web\Controller {
$comments = '';
if(! $r) {
if($observer && ($can_post || $can_comment)) {
- $feature_auto_save_draft = ((feature_enabled($owner_uid, 'auto_save_draft')) ? "true" : "false");
$commentbox = replace_macros($cmnt_tpl,array(
'$return_path' => '',
'$mode' => 'photos',
@@ -1096,8 +1095,7 @@ class Photos extends \Zotlabs\Web\Controller {
'$submit' => t('Submit'),
'$preview' => t('Preview'),
'$ww' => '',
- '$feature_encrypt' => false,
- '$auto_save_draft' => $feature_auto_save_draft
+ '$feature_encrypt' => false
));
}
}