Try to clear caches before updating (#522)

* Try to clear caches before updating

* Add clear-compiled to maintenance cache list

* Formatting
This commit is contained in:
Nabeel S
2020-01-30 14:59:48 -05:00
committed by GitHub
parent 3c1b433c29
commit 51b50972c8
4 changed files with 39 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ class MaintenanceController extends Controller
$calls[] = 'config:cache';
$calls[] = 'cache:clear';
$calls[] = 'route:cache';
$calls[] = 'clear-compiled';
}
// If we want to clear only the views but keep everything else