]> git.mxchange.org Git - friendica.git/commitdiff
Add new info messages to mod/item
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 30 Jan 2020 03:45:13 +0000 (22:45 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 30 Jan 2020 03:45:13 +0000 (22:45 -0500)
mod/item.php

index 7578e38efddb496fc3e04710c7bf657e17920903..3edf49f86c4e3127c768816cf51325d223e65e56 100644 (file)
@@ -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
 }