fix new notices

master
Jean-Christian Paul Denis 2022-11-14 21:47:55 +01:00
parent 152aa8d3c4
commit 24491b0676
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ class adminPeriodical
self::delPeriod($post_id);
}
dcPage::addSuccessNotice(__('Posts have been removed from periodical.'));
dcAdminNotices::addSuccessNotice(__('Posts have been removed from periodical.'));
$pa->redirect(true);
}
@ -365,7 +365,7 @@ class adminPeriodical
self::addPeriod($post_id, $post['periodical']);
}
dcPage::addSuccessNotice(__('Posts have been added to periodical.'));
dcAdminNotices::addSuccessNotice(__('Posts have been added to periodical.'));
$pa->redirect(true);
}