Skip to content

Commit bd2cdf7

Browse files
committed
fix issue with shared templates in wsc 6.1
1 parent e1096bb commit bd2cdf7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

files/cron.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@
22

33
require_once(__DIR__ . '/global.php');
44

5-
use wcf\data\application\ApplicationList;
65
use wcf\data\user\User;
76
use wcf\system\background\BackgroundQueueHandler;
87
use wcf\system\cronjob\CronjobScheduler;
98
use wcf\system\WCF;
109

1110
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-
1911
WCF::getSession()->changeUser(new User(null, [
2012
'userID' => 0,
2113
'username' => 'System',

0 commit comments

Comments
 (0)