PatchBot/modules/Bootstrap.php
2020-02-18 21:40:52 +01:00

14 lines
337 B
PHP

<?php
class Bootstrap extends PatchBase {
function __construct() {
parent::__construct('Bootstrap Team', 'Bootstrap', 'https://getbootstrap.com/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/twbs/bootstrap/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>