From a03bf60df98efa2d1500eb2c0ba59837e07bbca4 Mon Sep 17 00:00:00 2001 From: Jakub Mikita Date: Sun, 2 Jun 2024 12:33:42 +0200 Subject: [PATCH] chore: remove obsolete caching clearing --- src/Admin/Wizard.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Admin/Wizard.php b/src/Admin/Wizard.php index a11ff254..d05481cd 100644 --- a/src/Admin/Wizard.php +++ b/src/Admin/Wizard.php @@ -336,15 +336,6 @@ private function addNotifications($notifications) NotificationDatabaseService::upsert($notification); } - - /** - * @todo 3mp4ad - * This cache should be cleared in Adapter save method. - * Now it's used in Admin\PostType::save() as well - */ - $cache = new CacheDriver\ObjectCache('notification'); - $cache->set_key('notifications'); - $cache->delete(); } /**