aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-04-08 19:44:21 -0400
committerAndrew Manning <tamanning@zoho.com>2018-04-08 19:44:21 -0400
commitf9ec3c66ff1305ca0647454d27793ac5365f7f4a (patch)
tree6978bc6679654a428b6192eeae856c0f9e2d0223 /include/features.php
parent4760dc9bcb7e43be9c27cf83ba5273344384813d (diff)
downloadvolse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.tar.gz
volse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.tar.bz2
volse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.zip
Added feature setting for auto-save, defaulting to enabled.
Diffstat (limited to 'include/features.php')
-rw-r--r--include/features.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/features.php b/include/features.php
index 4859a01db..36f4f0433 100644
--- a/include/features.php
+++ b/include/features.php
@@ -350,6 +350,15 @@ function get_features($filtered = true) {
feature_level('suppress_duplicates',1),
],
+ [
+ 'auto_save_draft',
+ t('Auto-save drafts of posts and comments'),
+ t('Automatically saves post and comment drafts in local browser storage to help prevent accidental loss of compositions'),
+ true,
+ get_config('feature_lock','auto_save_draft'),
+ feature_level('auto_save_draft',1),
+ ],
+
],
// Network Tools