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

@@ -49,6 +49,8 @@ class UpdateController extends Controller
*/
public function step1(Request $request)
{
$this->installerSvc->clearCaches();
if ($this->installerSvc->isUpgradePending()) {
Log::info('Upgrade is pending');
}