ownCloud: parse changelog
This commit is contained in:
parent
c8e09318d9
commit
199b438a86
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class OwnCloudServer extends PatchBase {
|
|||
parent::__construct('ownCloud GmbH', 'ownCloud Server', 'https://owncloud.com/download-server/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://owncloud.com/download-server/'))
|
||||
return $this->parse('/Version: <strong>ownCloud Server ([\d\.]+)<\/strong>/');
|
||||
if ($this->fetch('https://owncloud.com/changelog/server/'))
|
||||
return $this->parse('/Changelog for ownCloud Core \[([\d\.]+)\]/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue