Skip to content

Commit

Permalink
[4.x] Fix error from static caching invalidator when deleting entries (
Browse files Browse the repository at this point in the history
…#9191)

Fix invalidation when deleting entries
  • Loading branch information
duncanmcclean authored Jan 8, 2024
1 parent b052ae5 commit bc44306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StaticCaching/Invalidate.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Statamic\Events\BlueprintSaved;
use Statamic\Events\CollectionTreeDeleted;
use Statamic\Events\CollectionTreeSaved;
use Statamic\Events\EntryDeleted;
use Statamic\Events\EntryDeleting;
use Statamic\Events\EntrySaved;
use Statamic\Events\FormDeleted;
use Statamic\Events\FormSaved;
Expand All @@ -31,7 +31,7 @@ class Invalidate implements ShouldQueue
AssetSaved::class => 'invalidateAsset',
AssetDeleted::class => 'invalidateAsset',
EntrySaved::class => 'invalidateEntry',
EntryDeleted::class => 'invalidateEntry',
EntryDeleting::class => 'invalidateEntry',
TermSaved::class => 'invalidateTerm',
TermDeleted::class => 'invalidateTerm',
GlobalSetSaved::class => 'invalidateGlobalSet',
Expand Down

0 comments on commit bc44306

Please sign in to comment.