Fix CronjobPackageInstallationPlugin
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 13:02:03 +0000 (15:02 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 13:02:03 +0000 (15:02 +0200)
This fixes:

> 6 arguments are required, 5 given

The `startMinute` got lost in b355b1c75179f724cb0353247ce9b0b0f4712975.

wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php

index 3cc0768aae613aff54874d259eed08f29806eacd..168e4953ab931e61c05825202d2f493621bcb005 100644 (file)
@@ -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'],