PatchBot/modules/OpenVPN.php
2021-03-16 11:02:53 +01:00

14 lines
331 B
PHP

<?php
class OpenVPN extends PatchBase {
function __construct() {
parent::__construct('OpenVPN Inc.', 'OpenVPN', 'https://openvpn.net/community-downloads/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/tags'))
return $this->parse_json('name');
return false;
}
}
?>