PatchBot/modules/XCA.php
2021-01-30 16:22:11 +01:00

14 lines
349 B
PHP

<?php
class XCA extends PatchBase {
function __construct() {
parent::__construct('Christian Hohnstädt', 'XCA', 'https://hohnstaedt.de/xca/index.php/download');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/chris2511/xca/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>