OwnCloud: Website changes
This commit is contained in:
parent
c361b2af8b
commit
2b58cd4085
1 changed files with 3 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
class OwnCloud extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('ownCloud GmbH', 'ownCloud', 'https://owncloud.org/download/');
|
||||
parent::__construct('ownCloud GmbH', 'ownCloud', 'https://owncloud.com/download-server/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://owncloud.org/download/'))
|
||||
return $this->parse('/<td>Production<\/td>[\s]*<td>([\d\.]+)<\/td>/');
|
||||
if ($this->fetch('https://owncloud.com/download-server/'))
|
||||
return $this->parse('/Version: <strong>ownCloud Server ([\d\.]+)<\/strong>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue