turn off categories feature by default

This commit is contained in:
friendica
2012-11-03 16:51:29 -07:00
parent ece59b778e
commit f55636aeb6
3 changed files with 9 additions and 1 deletions

View File

@@ -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",