mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
refactor 310 update listener
This commit is contained in:
@ -14,7 +14,7 @@ class Updater
|
||||
{
|
||||
use SiteApi;
|
||||
|
||||
public static function update($installed, $version)
|
||||
public static function update($version)
|
||||
{
|
||||
$data = null;
|
||||
$path = null;
|
||||
@ -26,7 +26,6 @@ class Updater
|
||||
$url = 'https://craterapp.com/downloads/file/'.$version.'?type=update';
|
||||
}
|
||||
|
||||
|
||||
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
|
||||
|
||||
// Exception
|
||||
|
||||
Reference in New Issue
Block a user