aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-03 16:40:05 -0700
committerfriendica <info@friendica.com>2012-11-03 16:40:05 -0700
commitece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2 (patch)
tree5784e71a595ff7fae5a7f0b91b2f9105e400bc7f /mod/search.php
parentf5b1eee1779e678cd540651bfee73e7126a0c583 (diff)
downloadvolse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.tar.gz
volse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.tar.bz2
volse-hubzilla-ece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2.zip
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.
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php3
1 files changed, 3 insertions, 0 deletions
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",