aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-03 16:51:29 -0700
committerfriendica <info@friendica.com>2012-11-03 16:51:29 -0700
commitf55636aeb61e0bd8e1a5770715d117f4c6bcaf0c (patch)
treef643b605ae2f0ec840287d521130c40e12a6f366 /include/contact_widgets.php
parentece59b778ecbe2eefa4db4e5f6bac90a4d4ab4e2 (diff)
downloadvolse-hubzilla-f55636aeb61e0bd8e1a5770715d117f4c6bcaf0c.tar.gz
volse-hubzilla-f55636aeb61e0bd8e1a5770715d117f4c6bcaf0c.tar.bz2
volse-hubzilla-f55636aeb61e0bd8e1a5770715d117f4c6bcaf0c.zip
turn off categories feature by default
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 1230e2b24..13c7c52c8 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -104,8 +104,11 @@ function fileas_widget($baseurl,$selected = '') {
}
function categories_widget($baseurl,$selected = '') {
- $a = get_app();
+ if(! featured_enabled($a->profile['profile_uid'],'categories'))
+ return '';
+
+ $a = get_app();
$terms = array();
$r = q("select distinct(term) from term where uid = %d and type = %d order by term asc",