diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-04-04 15:22:38 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-04-04 15:22:38 -0400 |
commit | a5aff7d0c969adb78338e35a1d736ad80462b34b (patch) | |
tree | 152e15e52958adda27c16db513392f510493abd7 /Zotlabs/Module/Item.php | |
parent | aca719ac741f86cb2ab97ca06bb10b93684e9abf (diff) | |
download | volse-hubzilla-a5aff7d0c969adb78338e35a1d736ad80462b34b.tar.gz volse-hubzilla-a5aff7d0c969adb78338e35a1d736ad80462b34b.tar.bz2 volse-hubzilla-a5aff7d0c969adb78338e35a1d736ad80462b34b.zip |
Post body and title are auto-saved
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index fba2ef7a4..ed35fc20d 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1050,6 +1050,10 @@ class Item extends \Zotlabs\Web\Controller { logger('post_complete'); + // Remove auto-saved post text if the post was successfully posted + del_pconfig(local_channel(),'autosavetext_post','body'); + del_pconfig(local_channel(),'autosavetext_post','title'); + if($moderated) { info(t('Your comment is awaiting approval.') . EOL); } |