mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update RunRepair.php
This commit is contained in:
parent
890f824c06
commit
b2c13ba836
1 changed files with 7 additions and 7 deletions
|
@ -37,13 +37,13 @@ class RunRepair extends Command
|
|||
{
|
||||
|
||||
// Find broken domains
|
||||
$findBrokenDomains = Domain::where('status', Domain::STATUS_BROKEN)->get();
|
||||
if ($findBrokenDomains) {
|
||||
foreach ($findBrokenDomains as $brokenDomain) {
|
||||
$brokenDomain->status = Domain::STATUS_ACTIVE;
|
||||
$brokenDomain->saveQuietly();
|
||||
}
|
||||
}
|
||||
// $findBrokenDomains = Domain::where('status', Domain::STATUS_BROKEN)->get();
|
||||
// if ($findBrokenDomains) {
|
||||
// foreach ($findBrokenDomains as $brokenDomain) {
|
||||
// $brokenDomain->status = Domain::STATUS_ACTIVE;
|
||||
// $brokenDomain->saveQuietly();
|
||||
// }
|
||||
// }
|
||||
|
||||
// Overwrite supervisor config file
|
||||
$workersCount = (int) setting('general.supervisor_workers_count');
|
||||
|
|
Loading…
Reference in a new issue