]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Merge pull request #1859 from annando/1508-updated-sql
[friendica.git] / include / nav.php
index e1661644d180beb92592d3f1dd0cb1e4825d6bac..e7f51cc0c055b08c56ded311e5a27a7a7a4766a9 100644 (file)
@@ -121,8 +121,10 @@ function nav_info(&$a) {
        $nav['searchoption'] = array(
                                        t("Full Text"),
                                        t("Tags"),
-                                       t("Contacts"),
-                                       t("Forums"));
+                                       t("Contacts"));
+
+       if (get_config('system','poco_local_search'))
+               $nav['searchoption'][] = t("Forums");
 
        $gdirpath = 'directory';