PatchBot/modules/MariaDB109.php
2022-11-08 15:21:00 +01:00

15 lines
373 B
PHP

<?php
class MariaDB109 extends PatchBase {
function __construct() {
parent::__construct('MariaDB Foundation', 'MariaDB', 'https://mariadb.org/download/');
$this->patch->setBranch('10.9');
}
function check() : bool {
if ($this->fetch_json('https://downloads.mariadb.org/rest-api/mariadb/10.9/'))
return $this->parse_json('release_id');
return false;
}
}
?>