fix new notices
parent
152aa8d3c4
commit
24491b0676
|
@ -338,7 +338,7 @@ class adminPeriodical
|
||||||
self::delPeriod($post_id);
|
self::delPeriod($post_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
dcPage::addSuccessNotice(__('Posts have been removed from periodical.'));
|
dcAdminNotices::addSuccessNotice(__('Posts have been removed from periodical.'));
|
||||||
$pa->redirect(true);
|
$pa->redirect(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ class adminPeriodical
|
||||||
self::addPeriod($post_id, $post['periodical']);
|
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);
|
$pa->redirect(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue