We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1096bb commit bd2cdf7Copy full SHA for bd2cdf7
files/cron.php
@@ -2,20 +2,12 @@
2
3
require_once(__DIR__ . '/global.php');
4
5
-use wcf\data\application\ApplicationList;
6
use wcf\data\user\User;
7
use wcf\system\background\BackgroundQueueHandler;
8
use wcf\system\cronjob\CronjobScheduler;
9
use wcf\system\WCF;
10
11
if (!\defined('OFFLINE') || !OFFLINE) {
12
- $applicationList = new ApplicationList();
13
- $applicationList->readObjects();
14
-
15
- foreach ($applicationList->getObjects() as $application) {
16
- WCF::loadRuntimeApplication($application->packageID);
17
- }
18
19
WCF::getSession()->changeUser(new User(null, [
20
'userID' => 0,
21
'username' => 'System',
0 commit comments