Rename class
This commit is contained in:
parent
f50d953e10
commit
b0e5a5148a
1 changed files with 14 additions and 0 deletions
14
modules/Ctop.php
Normal file
14
modules/Ctop.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue