remove unused files and refactor variable names and function names

This commit is contained in:
Mohit Panjwani
2019-11-15 21:02:53 +05:30
parent 9a3e52b658
commit 5d70832f20
43 changed files with 182108 additions and 1664 deletions

View File

@ -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]);