diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdac90..139fa16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Removed +- The `statamic:scheduled-cache-invalidator:run` schedule (it relied on the Mity scheduled-cache-invalidator addon, which we no longer use), the unused `app/Console/Kernel.php` that was silently failing to schedule it, and the orphaned `config/statamic-scheduled-cache-invalidator.php`. - `app/Console/Commands/ImportRedirects.php` and its references (superseded / unused). - `app/Listeners/RecacheUrl.php` and its `UrlInvalidated` event mapping in `EventServiceProvider.php` (unused). - Static Cache Manager references (`duncanmcclean/static-cache-manager`) from the README and the `access static-cache-manager utility` permission in `resources/users/roles.yaml` (package not used by this kit). diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php deleted file mode 100644 index a288243..0000000 --- a/app/Console/Kernel.php +++ /dev/null @@ -1,31 +0,0 @@ -command('statamic:scheduled-cache-invalidator:run')->everyMinute(); - } - - /** - * Register the commands for the application. - * - * @return void - */ - protected function commands() - { - $this->load(__DIR__.'/Commands'); - - require base_path('routes/console.php'); - } -} diff --git a/config/statamic-scheduled-cache-invalidator.php b/config/statamic-scheduled-cache-invalidator.php deleted file mode 100644 index 98881f9..0000000 --- a/config/statamic-scheduled-cache-invalidator.php +++ /dev/null @@ -1,56 +0,0 @@ - null, - - // 'query_scopes' => \Path\To\Scope::class, - - // 'query_scopes' => [ - // \Path\To\Scope::class, - // \Path\To\DifferentScope::class, - // ], - - // 'query_scopes' => [ - // 'collection_handle' => \Path\To\Scope::class, - // 'another_collection' => \Path\To\DifferentScope::class, - // ], - - // 'query_scopes' => [ - // 'collection_handle' => [ - // \Path\To\Scope::class, - // \Path\To\DifferentScope::class, - // ], - // 'another_collection' => [ - // \Path\To\Scope::class, - // \Path\To\DifferentScope::class, - // ], - // ], - - /* - |-------------------------------------------------------------------------- - | Save quietly - |-------------------------------------------------------------------------- - | - | Do you want to save items quietly (true, so no events fired), or - | not quietly (false, events will be fired) - | - */ - - 'save_quietly' => false, - -];