ownCloud: parse changelog

This commit is contained in:
Steffen Lange 2022-12-02 10:34:44 +01:00
parent c8e09318d9
commit 199b438a86

View file

@ -5,8 +5,8 @@ class OwnCloudServer extends PatchBase {
parent::__construct('ownCloud GmbH', 'ownCloud Server', 'https://owncloud.com/download-server/'); parent::__construct('ownCloud GmbH', 'ownCloud Server', 'https://owncloud.com/download-server/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://owncloud.com/download-server/')) if ($this->fetch('https://owncloud.com/changelog/server/'))
return $this->parse('/Version: <strong>ownCloud Server ([\d\.]+)<\/strong>/'); return $this->parse('/Changelog for ownCloud Core \[([\d\.]+)\]/');
return false; return false;
} }
} }