PatchBot/modules/OpenOffice4.php
2023-09-09 23:52:31 +02:00

15 lines
395 B
PHP

<?php
class OpenOffice4 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'OpenOffice', 'http://www.openoffice.org/download/index.html');
$this->patch->setBranch('4.0');
}
function check() : bool {
if ($this->fetch_xml('https://ooo-updates.apache.org/aoo40/check.Update'))
return $this->parse_xml('(//inst:version)[1]');
return false;
}
}
?>