Skip to content

Commit

Permalink
chore: remove obsolete caching clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmikita committed Jun 2, 2024
1 parent 4e6406b commit a03bf60
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Admin/Wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit a03bf60

Please sign in to comment.