From: Joshua Rüsweg Date: Sat, 9 Mar 2019 16:50:04 +0000 (+0100) Subject: Fix init object list for SitemapRebuildWorker X-Git-Tag: 5.2.0_Alpha_1~240 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8dbf8699ff023ff490ff898a9f2586f1d5dac7f;p=GitHub%2FWoltLab%2FWCF.git Fix init object list for SitemapRebuildWorker Closes #2858 Closes #2861 --- diff --git a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php index f23545848a..85ee30e621 100755 --- a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php @@ -57,7 +57,16 @@ class SitemapRebuildWorker extends AbstractRebuildDataWorker { * The user profile of the actual user. * @var User */ - private $actualUser; + private $actualUser; + + /** + * @inheritDoc + */ + public function initObjectList() { + // This rebuild worker has no database object list + // therefore we do nothing in this method an overwrite + // the parent method, that it does not throw an exception. + } /** * @inheritDoc