aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Collections.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Collections.php')
-rw-r--r--Zotlabs/Widget/Collections.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Widget/Collections.php b/Zotlabs/Widget/Collections.php
index bc9c812c6..ad1a10f4b 100644
--- a/Zotlabs/Widget/Collections.php
+++ b/Zotlabs/Widget/Collections.php
@@ -1,15 +1,15 @@
<?php
namespace Zotlabs\Widget;
-
-require_once('include/group.php');
+
+use Zotlabs\Lib\AccessList;
class Collections {
function widget($args) {
if(argc() < 2)
- return;
+ // return;
$mode = ((array_key_exists('mode',$args)) ? $args['mode'] : 'conversation');
switch($mode) {
@@ -49,6 +49,6 @@ class Collections {
break;
}
- return group_side($every, $each, $edit, $current, $abook_id, $wmode);
+ return AccessList::widget($every, $each, $edit, $current, $abook_id, $wmode);
}
}