From 95c805eae6706260e939b07c801277738e0d33eb Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 7 Jun 2019 23:44:39 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - fixes and refactoring --- site/plugins/admin/app/Controllers/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/plugins/admin/app/Controllers/SettingsController.php b/site/plugins/admin/app/Controllers/SettingsController.php index 212cc61f..4bbf8827 100644 --- a/site/plugins/admin/app/Controllers/SettingsController.php +++ b/site/plugins/admin/app/Controllers/SettingsController.php @@ -129,7 +129,7 @@ class SettingsController extends Controller */ public function clearCacheProcess(Request $request, Response $response) : Response { - Cache::clear(); + $this->cache->clear(); $this->flash->addMessage('success', __('admin_message_cache_files_deleted')); return $response->withRedirect($this->container->get('router')->pathFor('admin.settings.index')); }