From 3370300376c42060db4fe43a175e7125ea95b72c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 29 Jan 2020 22:45:13 -0500 Subject: [PATCH] Add new info messages to mod/item --- mod/item.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/item.php b/mod/item.php index 7578e38ef..3edf49f86 100644 --- a/mod/item.php +++ b/mod/item.php @@ -703,6 +703,7 @@ function item_post(App $a) { // update filetags in pconfig FileTag::updatePconfig($uid, $categories_old, $categories_new, 'category'); + info(DI::l10n()->t('Post updated.')); if ($return_path) { DI::baseUrl()->redirect($return_path); } @@ -821,6 +822,7 @@ function item_post(App $a) { return $post_id; } + info(DI::l10n()->t('Post published.')); item_post_return(DI::baseUrl(), $api_source, $return_path); // NOTREACHED }