Added method to get info from the AutoUpdater

This commit is contained in:
Shoghi Cervantes 2014-06-16 23:20:07 +02:00
parent 169c55443a
commit 8a89aee75d

View File

@ -115,6 +115,14 @@ class AutoUpdater{
$logger->info("----- -------------------------- -----"); $logger->info("----- -------------------------- -----");
} }
public function getUpdateInfo(){
return $this->updateInfo;
}
public function doCheck(){
$this->check();
}
protected function checkUpdate(){ protected function checkUpdate(){
if($this->updateInfo === null){ if($this->updateInfo === null){
return; return;