Add Paperless-ngx
This commit is contained in:
parent
e3213a5eb9
commit
326476322b
1 changed files with 14 additions and 0 deletions
14
modules/Paperless.php
Normal file
14
modules/Paperless.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue