14 lines
327 B
PHP
14 lines
327 B
PHP
<?php
|
|
|
|
class Restic extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Alexander Neumann', 'restic', 'https://restic.net/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://api.github.com/repos/restic/restic/releases/latest', true))
|
|
return $this->parse_json('tag_name');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|