Rename function flushAll
[MAILPOET-923]
This commit is contained in:
@@ -20,7 +20,7 @@ class DeferredAdminNotices {
|
||||
update_option(DeferredAdminNotices::OPTIONS_KEY_NAME, $notices);
|
||||
}
|
||||
|
||||
public function flushAll() {
|
||||
public function printAndClean() {
|
||||
$notices = get_option(DeferredAdminNotices::OPTIONS_KEY_NAME, array());
|
||||
|
||||
foreach($notices as $notice) {
|
||||
|
Reference in New Issue
Block a user