mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
Update BackupStats.php
This commit is contained in:
parent
bc322f7084
commit
1cf0804f81
1 changed files with 0 additions and 6 deletions
|
@ -28,12 +28,6 @@ class BackupStats extends BaseWidget
|
|||
{
|
||||
|
||||
$stats = Cache::remember('backup-stats', 300, function () {
|
||||
$findBackups = Backup::select(['id'])->where('status', 'processing')->get();
|
||||
if ($findBackups->count() > 0) {
|
||||
foreach ($findBackups as $backup) {
|
||||
$backup->checkBackup();
|
||||
}
|
||||
}
|
||||
$usedSpace = 0;
|
||||
$backupPath = BackupStorage::getPath();
|
||||
if (is_dir($backupPath)) {
|
||||
|
|
Loading…
Reference in a new issue