File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33// phpcs:disable PSR1.Files.SideEffects
44
5- define ('PACKAGE_ID ' , 1 );
5+ \ define ('PACKAGE_ID ' , 1 );
66require_once (__DIR__ . '/global.php ' );
77use wcf \data \application \ApplicationList ;
88use wcf \data \cronjob \CronjobAction ;
99use wcf \system \background \BackgroundQueueHandler ;
1010use wcf \system \WCF ;
1111
12- if (!defined ('OFFLINE ' ) || !OFFLINE ) {
12+ if (!\ defined ('OFFLINE ' ) || !OFFLINE ) {
1313 $ applicationList = new ApplicationList ();
1414 $ applicationList ->readObjects ();
1515
2121 $ action ->executeAction ();
2222
2323 // send up to 5 outstanding mails
24- $ limit = min (5 , BackgroundQueueHandler::getInstance ()->getRunnableCount ());
24+ $ limit = \ min (5 , BackgroundQueueHandler::getInstance ()->getRunnableCount ());
2525 for ($ i = 0 ; $ i < $ limit ; $ i ++) {
2626 BackgroundQueueHandler::getInstance ()->performNextJob ();
2727 }
You can’t perform that action at this time.
0 commit comments