17 lines
583 B
PHP
17 lines
583 B
PHP
<?php
|
|
|
|
class MSOffice2019VL extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Microsoft', 'Office 2019', 'https://docs.microsoft.com/en-us/OfficeUpdates/update-history-office-2019#volume-licensed-versions-of-office-2019');
|
|
$this->patch->setBranch('Volume License');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://docs.microsoft.com/en-us/OfficeUpdates/update-history-office-2019')) {
|
|
$this->str_crop('volume-licensed-versions-of-office-2019', '</table>');
|
|
return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/');
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|