Import source

This commit is contained in:
Steffen Lange 2019-07-15 22:27:48 +02:00
parent 50b489784d
commit 32b8c4cb56
34 changed files with 890 additions and 0 deletions

16
modules/MSOffice2019.php Normal file
View file

@ -0,0 +1,16 @@
<?php
class MSOffice2019 extends PatchBase {
function __construct() {
parent::__construct('Microsoft', 'Office 2019', 'https://docs.microsoft.com/en-us/OfficeUpdates/update-history-office-2019#retail-versions-of-office-2016-c2r-and-office-2019');
}
function check() : bool {
if ($this->fetch('https://docs.microsoft.com/en-us/OfficeUpdates/update-history-office-2019')) {
$this->str_crop('retail-versions-of-office-2016-c2r-and-office-2019', '</table>');
return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/');
}
return false;
}
}
?>