From: Tim Düsterhus Date: Wed, 27 Sep 2023 13:23:42 +0000 (+0200) Subject: Store the creationDate in LicenseData X-Git-Tag: 6.0.0_RC_2~3^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2b17b26b1b5ab6827e345d4a7776428e73fa8d4;p=GitHub%2FWoltLab%2FWCF.git Store the creationDate in LicenseData --- diff --git a/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php b/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php index 827feb1b59..b5863e27fe 100644 --- a/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php +++ b/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php @@ -12,6 +12,8 @@ namespace wcf\system\package\license; */ final class LicenseData { + public readonly \DateTimeImmutable $creationDate; + /** * @param array{ * authCode?: string, @@ -29,6 +31,7 @@ final class LicenseData public readonly array $woltlab, ) { + $this->creationDate = new \DateTimeImmutable(); } public function getLicenseNumber(): ?string