Add Nextcloud & ownCloud
This commit is contained in:
parent
01051b751b
commit
91d4925df9
2 changed files with 28 additions and 0 deletions
14
modules/OwnCloud.php
Normal file
14
modules/OwnCloud.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class OwnCloud extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('ownCloud GmbH', 'ownCloud', 'https://owncloud.org/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://owncloud.org/download/'))
|
||||
return $this->parse('/<td>Production<\/td>[\s]*<td>([\d\.]+)<\/td>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue