mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
remove unused files and refactor variable names and function names
This commit is contained in:
@@ -18,7 +18,7 @@ class Updater
|
||||
$data = null;
|
||||
$path = null;
|
||||
|
||||
$url = '/downloads/file/'.$version.'?type=update';
|
||||
$url = 'https://craterapp.com/downloads/file/'.$version.'?type=update';
|
||||
|
||||
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
|
||||
|
||||
@@ -99,7 +99,7 @@ class Updater
|
||||
public static function checkForUpdate()
|
||||
{
|
||||
$data = null;
|
||||
$url = '/downloads/check/latest/'.Setting::getSetting('version');
|
||||
$url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version');
|
||||
|
||||
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user