Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions app/Console/Commands/VersionChecker.php

This file was deleted.

6 changes: 1 addition & 5 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Providers;

use App\Services\SystemChecker;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Console\AboutCommand;
use Illuminate\Http\Request;
Expand Down Expand Up @@ -45,11 +44,8 @@ public function boot(): void
URL::forceScheme('https');
}

$system = new SystemChecker;

AboutCommand::add('Speedtest Tracker', fn () => [
'Version' => $system->getLocalVersion(),
'Out of date' => $system->isOutOfDate() ? 'Yes' : 'No',
'Version' => config('speedtest.build_version'),
]);
}

Expand Down
61 changes: 0 additions & 61 deletions app/Services/SystemChecker.php

This file was deleted.

7 changes: 0 additions & 7 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
return config('speedtest.prune_results_older_than') > 0;
});

/**
* Checked for new versions weekly on Thursday because
* I usually do releases on Thursday or Friday.
*/
Schedule::command('app:version')
->weeklyOn(5);

/**
* Nightly maintenance
*/
Expand Down