aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-31 12:53:33 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-31 12:53:33 +0100
commita6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a (patch)
tree4b21a3037de9774c07a43898f97f1913eeb03d74 /include
parente1b54b684383557159cc25839637c35329fce3cd (diff)
downloadvolse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.tar.gz
volse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.tar.bz2
volse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.zip
hide featured app category in the app category widget
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
-rw-r--r--include/widgets.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index d7b006c6d..25f2a1df4 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -249,7 +249,7 @@ EOT;
if(local_channel()) {
//Zlib\Apps::import_system_apps();
$syslist = array();
- $list = Zlib\Apps::app_list(local_channel(), false, 'featured');
+ $list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app');
if($list) {
foreach($list as $li) {
$syslist[] = Zlib\Apps::app_encode($li);
diff --git a/include/widgets.php b/include/widgets.php
index 27eae7d6f..408ba5d24 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -456,6 +456,7 @@ function widget_appcategories($arr) {
where app_channel = %d
and term.uid = app_channel
and term.otype = %d
+ and term.term != 'nav_featured_app'
order by term.term asc",
intval(local_channel()),
intval(TERM_OBJ_APP)