|
|
@ -52,13 +52,9 @@ class OC_Updater{ |
|
|
$tmp['url'] = $data->url; |
|
|
$tmp['url'] = $data->url; |
|
|
$tmp['web'] = $data->web; |
|
|
$tmp['web'] = $data->web; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $tmp; |
|
|
return $tmp; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static function ShowUpdatingHint(){ |
|
|
public static function ShowUpdatingHint(){ |
|
|
$data=OC_Updater::check(); |
|
|
$data=OC_Updater::check(); |
|
|
if(isset($data['version']) and $data['version']<>'') { |
|
|
if(isset($data['version']) and $data['version']<>'') { |
|
|
@ -67,10 +63,8 @@ class OC_Updater{ |
|
|
$txt='Your ownCloud is up to date'; |
|
|
$txt='Your ownCloud is up to date'; |
|
|
} |
|
|
} |
|
|
return($txt); |
|
|
return($txt); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* do ownCloud update |
|
|
* do ownCloud update |
|
|
*/ |
|
|
*/ |
|
|
@ -83,9 +77,5 @@ class OC_Updater{ |
|
|
//update version in config
|
|
|
//update version in config
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
?>
|