Add ownCloud Infinite Scale & Web
This commit is contained in:
parent
50b9181a49
commit
f2e0151881
2 changed files with 30 additions and 0 deletions
15
modules/OwnCloudIS.php
Normal file
15
modules/OwnCloudIS.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue