aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-28 09:30:57 +0100
committerMario <mario@mariovavti.com>2019-11-28 09:30:57 +0100
commitf2c73c0f45787a361f9fd57831a00c34e660fbd9 (patch)
treee99d7e74db23a916cba86a1527f6fcee82a0c2b3 /Zotlabs/Module
parent78492d0037aacb829dd0cea13526f3631e8cf945 (diff)
parentc86b35da701674510a97ccc21e46581bd864cc31 (diff)
downloadvolse-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/Module')
-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
));
}
}