diff --git a/modules/OwnCloudIS.php b/modules/OwnCloudIS.php new file mode 100644 index 0000000..5848455 --- /dev/null +++ b/modules/OwnCloudIS.php @@ -0,0 +1,15 @@ +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; + } +} + +?> diff --git a/modules/OwnCloudWeb.php b/modules/OwnCloudWeb.php new file mode 100644 index 0000000..29a592c --- /dev/null +++ b/modules/OwnCloudWeb.php @@ -0,0 +1,15 @@ +patch->setBranch('Web'); + } + function check() : bool { + if ($this->fetch_json('https://api.github.com/repos/owncloud/web/releases/latest')) + return $this->parse_json('tag_name'); + return false; + } +} + +?>