mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Various code cleanup.
This commit is contained in:
@@ -100,10 +100,6 @@ class UpdateController extends Controller
|
||||
$channel = $request->get('update_channel');
|
||||
$channel = in_array($channel, ['stable', 'beta', 'alpha'], true) ? $channel : 'stable';
|
||||
|
||||
// store as telemetry
|
||||
app('telemetry')->feature('admin.update.channel', $channel);
|
||||
app('telemetry')->feature('admin.update.permission', (string)$checkForUpdates);
|
||||
|
||||
app('fireflyconfig')->set('permission_update_check', $checkForUpdates);
|
||||
app('fireflyconfig')->set('last_update_check', time());
|
||||
app('fireflyconfig')->set('update_channel', $channel);
|
||||
|
Reference in New Issue
Block a user