Add ownCloud Infinite Scale & Web

This commit is contained in:
Steffen Lange 2022-12-04 23:19:16 +01:00
parent 50b9181a49
commit f2e0151881
2 changed files with 30 additions and 0 deletions

15
modules/OwnCloudIS.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class OwnCloudIS extends PatchBase {
function __construct() {
parent::__construct('ownCloud GmbH', 'ownCloud Server', 'https://owncloud.com/download-server/');
$this->patch->setBranch('Infinite Scale');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/owncloud/ocis/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>