Skip to content

Commit 7e0a843

Browse files
authored
[Chore] Remove version checker (alexjustesen#2053)
1 parent f56c2ca commit 7e0a843

File tree

4 files changed

+1
-129
lines changed

4 files changed

+1
-129
lines changed

app/Console/Commands/VersionChecker.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

app/Providers/AppServiceProvider.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace App\Providers;
44

5-
use App\Services\SystemChecker;
65
use Illuminate\Cache\RateLimiting\Limit;
76
use Illuminate\Foundation\Console\AboutCommand;
87
use Illuminate\Http\Request;
@@ -45,11 +44,8 @@ public function boot(): void
4544
URL::forceScheme('https');
4645
}
4746

48-
$system = new SystemChecker;
49-
5047
AboutCommand::add('Speedtest Tracker', fn () => [
51-
'Version' => $system->getLocalVersion(),
52-
'Out of date' => $system->isOutOfDate() ? 'Yes' : 'No',
48+
'Version' => config('speedtest.build_version'),
5349
]);
5450
}
5551

app/Services/SystemChecker.php

Lines changed: 0 additions & 61 deletions
This file was deleted.

routes/console.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
return config('speedtest.prune_results_older_than') > 0;
1313
});
1414

15-
/**
16-
* Checked for new versions weekly on Thursday because
17-
* I usually do releases on Thursday or Friday.
18-
*/
19-
Schedule::command('app:version')
20-
->weeklyOn(5);
21-
2215
/**
2316
* Nightly maintenance
2417
*/

0 commit comments

Comments
 (0)