Rename function flushAll

[MAILPOET-923]
This commit is contained in:
Pavel Dohnal
2017-06-14 14:33:21 +01:00
parent fa3ba609f3
commit 1b69fe50ff
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {