From ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 3 Nov 2012 16:40:05 -0700 Subject: turn off some "advanced" features by default, like archives and saved search - even though we don't yet have a screen to turn them on. That will come. --- mod/search.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/search.php') diff --git a/mod/search.php b/mod/search.php index 048ed80e1..3f34587ef 100644 --- a/mod/search.php +++ b/mod/search.php @@ -2,6 +2,9 @@ function search_saved_searches() { + if(! feature_enabled(local_user(),'savedsearch')) + return ''; + $o = ''; $r = q("select `tid`,`term` from `term` WHERE `uid` = %d and type = %d", -- cgit v1.2.3