PatchBot/modules/FPLedit.php
2021-05-30 00:14:57 +02:00

14 lines
335 B
PHP

<?php
class FPLedit extends PatchBase {
function __construct() {
parent::__construct('Manuel Huber', 'FPLedit', 'https://fahrplan.manuelhu.de/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/fpledit/fpledit/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>