Option to remove articles or pages from the site search
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / search / PageSearch.class.php
index 1ef200c26b26748d8d5179911699bf134bb37500..5486044405b634d15e6dd23ec6a72462db494dd9 100644 (file)
@@ -115,4 +115,12 @@ class PageSearch extends AbstractSearchableObjectType {
        public function getJoins() {
                return 'INNER JOIN wcf'.WCF_N.'_page ON (wcf'.WCF_N.'_page.pageID = '.$this->getTableName().'.pageID)';
        }
+       
+       /**
+        * @inheritDoc
+        */
+       public function isAccessible() {
+               return SEARCH_ENABLE_PAGES;
+       }
+       
 }