Add isAvailableType() method for sitemap object types
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 14 Sep 2017 10:11:42 +0000 (12:11 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 14 Sep 2017 10:11:42 +0000 (12:11 +0200)
commit00af903218914db30b65efee503a1196299a85c6
treec4308d986a0976731cb99be02e7cc37a323bb215
parentb4285ac6abe18f61334f3a7f09d735e0d097b0d7
Add isAvailableType() method for sitemap object types

This method checks the requirements (e.g. module options) for the object type.
See #2286
wcfsetup/install/files/lib/system/sitemap/object/AbstractSitemapObjectObjectType.class.php
wcfsetup/install/files/lib/system/sitemap/object/ArticleCategorySitemapObject.class.php
wcfsetup/install/files/lib/system/sitemap/object/ArticleSitemapObject.class.php
wcfsetup/install/files/lib/system/sitemap/object/ISitemapObjectObjectType.class.php
wcfsetup/install/files/lib/system/sitemap/object/UserSitemapObject.class.php
wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php