PatchBot/modules/GCLog.php
2020-05-10 15:31:09 +02:00

14 lines
307 B
PHP

<?php
class GCLog extends PatchBase {
function __construct() {
parent::__construct('Steffen Lange', 'GCLog', 'https://www.gclog.de/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/stelas/GCLog/tags', true))
return $this->parse_json('name');
return false;
}
}
?>