mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-27 18:10:29 +00:00
update
This commit is contained in:
parent
371619c6d3
commit
795fba3715
3 changed files with 779 additions and 789 deletions
|
@ -70,7 +70,17 @@ class Version extends Page
|
|||
|
||||
public function checkForUpdates()
|
||||
{
|
||||
DownloadMicroweber::dispatch();
|
||||
$findJob = DB::table('jobs')->where('payload', 'like', '%DownloadMicroweber%')->get();
|
||||
if ($findJob->count() > 0) {
|
||||
foreach ($findJob as $job) {
|
||||
DB::table('jobs')->where('id', $job->id)->delete();
|
||||
}
|
||||
}
|
||||
|
||||
$debug = 1;
|
||||
if ($debug) {
|
||||
$dm = new DownloadMicroweber();
|
||||
$dm->handle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"microweber-packages/composer-client": "^1.9",
|
||||
"microweber-packages/shared-server-scripts": "dev-main"
|
||||
"microweber-packages/composer-client": "^2.1",
|
||||
"microweber-packages/shared-server-scripts": "^0.8"
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
|
|
1552
web/composer.lock
generated
1552
web/composer.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue