PatchBot/modules/OwnCloudServer.php
2021-01-07 16:13:18 +01:00

14 lines
372 B
PHP

<?php
class OwnCloudServer extends PatchBase {
function __construct() {
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>/');
return false;
}
}
?>