From f208e8d40d1436dee5cea36ee32a11c1ffb5728b Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Thu, 15 May 2014 08:35:41 +1000 Subject: [PATCH] Fixes https://github.com/octobercms/install/issues/14 - clearing the cache softly now --- modules/system/console/CacheClear.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/system/console/CacheClear.php b/modules/system/console/CacheClear.php index 194316ca7..57939fa18 100644 --- a/modules/system/console/CacheClear.php +++ b/modules/system/console/CacheClear.php @@ -46,8 +46,11 @@ class CacheClear extends ClearCommand */ public static function fireInternal() { - $command = App::make('System\Console\CacheClear'); - $command->fire(); + try { + $command = App::make('System\Console\CacheClear'); + $command->fire(); + } + catch (\Exception $ex) {} } } \ No newline at end of file