aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Collections.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
committerMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
commita80454978181eebf7813a10c00b3166f66300b3f (patch)
tree7f68f93c3d3894ebc05a9382ea3d7449dfdc288a /Zotlabs/Widget/Collections.php
parent2a60f1cc6ed49ab559090c831788308fe3df0706 (diff)
downloadvolse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.gz
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.bz2
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.zip
remove deprecated widgets and add some more widget descriptions
Diffstat (limited to 'Zotlabs/Widget/Collections.php')
-rw-r--r--Zotlabs/Widget/Collections.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/Zotlabs/Widget/Collections.php b/Zotlabs/Widget/Collections.php
deleted file mode 100644
index ad1a10f4b..000000000
--- a/Zotlabs/Widget/Collections.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-namespace Zotlabs\Widget;
-
-use Zotlabs\Lib\AccessList;
-
-class Collections {
-
- function widget($args) {
-
- if(argc() < 2)
- // return;
-
- $mode = ((array_key_exists('mode',$args)) ? $args['mode'] : 'conversation');
- switch($mode) {
- case 'conversation':
- $every = argv(0);
- $each = argv(0);
- $edit = true;
- $current = $_REQUEST['gid'];
- $abook_id = 0;
- $wmode = 0;
- break;
- case 'connections':
- $every = 'connections';
- $each = 'group';
- $edit = true;
- $current = $_REQUEST['gid'];
- $abook_id = 0;
- $wmode = 0;
- case 'groups':
- $every = 'connections';
- $each = argv(0);
- $edit = false;
- $current = intval(argv(1));
- $abook_id = 0;
- $wmode = 1;
- break;
- case 'abook':
- $every = 'connections';
- $each = 'group';
- $edit = false;
- $current = 0;
- $abook_id = \App::$poi['abook_xchan'];
- $wmode = 1;
- break;
- default:
- return '';
- break;
- }
-
- return AccessList::widget($every, $each, $edit, $current, $abook_id, $wmode);
- }
-}