Add OpenOffice 4.0
This commit is contained in:
parent
a46749c822
commit
62e718332f
1 changed files with 15 additions and 0 deletions
15
modules/OpenOffice4.php
Normal file
15
modules/OpenOffice4.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue