Rename class

This commit is contained in:
Steffen Lange 2019-07-20 18:58:22 +02:00
parent f50d953e10
commit b0e5a5148a

14
modules/Ctop.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Ctop extends PatchBase {
function __construct() {
parent::__construct('Bradley Cicenas', 'ctop', 'https://ctop.sh/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/bcicen/ctop/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>