14 lines
372 B
PHP
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;
|
|
}
|
|
}
|
|
|
|
?>
|