aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-25 12:59:53 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-25 12:59:53 +0200
commit9948bb3f2aa3bf3efa68623b87ba854fb59b4926 (patch)
tree9bc78217ec86ee286baae1c85fa8f3523097789f /Zotlabs/Widget
parent0722775038121905b04af9601b55075ddf574bf3 (diff)
downloadvolse-hubzilla-9948bb3f2aa3bf3efa68623b87ba854fb59b4926.tar.gz
volse-hubzilla-9948bb3f2aa3bf3efa68623b87ba854fb59b4926.tar.bz2
volse-hubzilla-9948bb3f2aa3bf3efa68623b87ba854fb59b4926.zip
appification of privacy groups
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Activity_filter.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php
index d725f8b55..912bfce49 100644
--- a/Zotlabs/Widget/Activity_filter.php
+++ b/Zotlabs/Widget/Activity_filter.php
@@ -2,6 +2,8 @@
namespace Zotlabs\Widget;
+use Zotlabs\Lib\Apps;
+
class Activity_filter {
function widget($arr) {
@@ -44,7 +46,7 @@ class Activity_filter {
];
}
- if(feature_enabled(local_channel(),'groups')) {
+ if(Apps::system_app_installed(local_channel(), 'Privacy Groups')) {
$groups = q("SELECT * FROM groups WHERE deleted = 0 AND uid = %d ORDER BY gname ASC",
intval(local_channel())
);