Add new info messages to mod/item
This commit is contained in:
parent
b86083de06
commit
3370300376
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue