aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r--Zotlabs/Module/Item.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index bba1dc02d..083ad50f7 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1051,6 +1051,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);
}