Add Nextcloud & ownCloud

This commit is contained in:
Steffen Lange 2020-01-18 22:49:44 +01:00
parent 01051b751b
commit 91d4925df9
2 changed files with 28 additions and 0 deletions

14
modules/Nextcloud.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Nextcloud extends PatchBase {
function __construct() {
parent::__construct('Nextcloud GmbH', 'Nextcloud', 'https://nextcloud.com/');
}
function check() : bool {
if ($this->fetch('https://nextcloud.com/install/'))
return $this->parse('_https://download.nextcloud.com/server/releases/nextcloud-([\d\.]+)\.zip_');
return false;
}
}
?>