aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.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/network.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/network.php')
-rw-r--r--mod/network.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 6e1148b90..a9d5d0a6a 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -121,6 +121,9 @@ EOT;
function saved_searches($search) {
+ if(! feature_enabled(local_user(),'savedsearch'))
+ return '';
+
$a = get_app();
$srchurl = '/network?f='