From: Tim Düsterhus Date: Fri, 5 Aug 2022 13:02:03 +0000 (+0200) Subject: Fix CronjobPackageInstallationPlugin X-Git-Tag: 6.0.0_Alpha_1~1069 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53a125fbb72108f91c2b7332653cc546ae0f48d1;p=GitHub%2FWoltLab%2FWCF.git Fix CronjobPackageInstallationPlugin This fixes: > 6 arguments are required, 5 given The `startMinute` got lost in b355b1c75179f724cb0353247ce9b0b0f4712975. --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php index 3cc0768aae..168e4953ab 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -137,6 +137,7 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu // The constructor will throw if the expression is not valid. new CronExpression(\sprintf( '%s %s %s %s %s', + $data['startMinute'], $data['startHour'], $data['startDom'], $data['startMonth'],