Fix handling of CMS pages in sitemap
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 3 May 2022 11:57:49 +0000 (13:57 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 3 May 2022 11:57:49 +0000 (13:57 +0200)
commit340fe36d8228b76a15b947d4cf67af7a42ee9c44
tree436dc96350971b9de11ec1a06f6f2b3687742c56
parent7d8465a54fbccd0d9d2b2cdf3bd6e48873fbc19b
Fix handling of CMS pages in sitemap

Delegate the visibility control and access control to the appropriate methods
in \wcf\data\page\Page instead of reimplementing it from scratch. Most notably
the inversion of the page ACL was not implemented correctly within the sitemap.

see 92fba0538afc1d88f411db1a80553af2d17c09b4
Closes #4767

Co-authored-by: mutec <mysterycode@mysterycode.de>
wcfsetup/install/files/lib/system/sitemap/object/MultilingualPageSitemapObject.class.php
wcfsetup/install/files/lib/system/sitemap/object/SimplePageSitemapObject.class.php