From a8dbf8699ff023ff490ff898a9f2586f1d5dac7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sat, 9 Mar 2019 17:50:04 +0100 Subject: [PATCH] Fix init object list for SitemapRebuildWorker Closes #2858 Closes #2861 --- .../lib/system/worker/SitemapRebuildWorker.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.20.1