Merge pull request #4506 from turbo124/v5-develop
Adjustments for post update
This commit is contained in:
commit
e5c30c67f1
1 changed files with 6 additions and 0 deletions
|
|
@ -69,16 +69,22 @@ class PostUpdate extends Command
|
|||
info("I wasn't able to optimize.");
|
||||
}
|
||||
|
||||
info("optimized");
|
||||
|
||||
try {
|
||||
Artisan::call('view:clear');
|
||||
} catch (\Exception $e) {
|
||||
info("I wasn't able to clear the views.");
|
||||
}
|
||||
|
||||
info("view cleared");
|
||||
|
||||
/* For the following to work, the web user (www-data) must own all the directories */
|
||||
|
||||
VersionCheck::dispatch();
|
||||
|
||||
info("sent for version check");
|
||||
|
||||
echo "Done.";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue