Add Bootstrap

This commit is contained in:
Steffen Lange 2020-02-18 21:40:52 +01:00
parent 1a90e7d532
commit 163bdd9033

14
modules/Bootstrap.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>