PatchBot/modules/Paperless.php
2024-04-28 11:22:35 +02:00

14 lines
373 B
PHP

<?php
class Paperless extends PatchBase {
function __construct() {
parent::__construct('Daniel Quinn & Jonas Winkler', 'Paperless-ngx', 'https://docs.paperless-ngx.com/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>