Micro-optimizations

This commit is contained in:
Shoghi Cervantes
2014-10-15 10:44:01 +02:00
parent 7b7b91ea0d
commit 9b85abd75e
16 changed files with 63 additions and 68 deletions

View File

@ -58,7 +58,7 @@ class AutoUpdater{
protected function check(){
$response = Utils::getURL($this->endpoint . "?channel=" . $this->getChannel(), 4);
$response = @json_decode($response, true);
$response = json_decode($response, true);
if(!is_array($response)){
return;
}