VersionCheck¶
-
class
OC\Updater\VersionCheck¶ Source: lib/private/Updater/VersionCheck.php#34
Properties¶
Methods¶
-
public
OC\Updater\VersionCheck::__construct($clientService, $config)¶ Source: Parameters: - $clientService (
OCP\Http\Client\IClientService) - $config (
OCP\IConfig)
- $clientService (
-
public
OC\Updater\VersionCheck::check()¶ - Check if a new version is available
Source: lib/private/Updater/VersionCheck.php#58 Returns: array | bool
-
protected
OC\Updater\VersionCheck::getUrlContent($url)¶ Source: Parameters: - $url (string)
Returns: resource | string
Throws: \Exception