From a35f741a3549934a40be17a91b488d48ab7c1953 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Jan 2022 15:40:54 +0000 Subject: deprecate AccessList::widget() --- Zotlabs/Lib/AccessList.php | 3 ++- Zotlabs/Widget/Privacygroups.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/AccessList.php b/Zotlabs/Lib/AccessList.php index a073d5946..03052fab5 100644 --- a/Zotlabs/Lib/AccessList.php +++ b/Zotlabs/Lib/AccessList.php @@ -308,7 +308,7 @@ class AccessList { return $o; } - +/* deprecated static function widget($every = "connections", $each = "lists", $edit = false, $group_id = 0, $cid = '', $mode = 1) { $groups = []; @@ -355,6 +355,7 @@ class AccessList { ]); } +*/ static function expand($g) { if (!(is_array($g) && count($g))) { diff --git a/Zotlabs/Widget/Privacygroups.php b/Zotlabs/Widget/Privacygroups.php index 74ce02ccd..a6b16c552 100644 --- a/Zotlabs/Widget/Privacygroups.php +++ b/Zotlabs/Widget/Privacygroups.php @@ -35,7 +35,7 @@ class Privacygroups { if ($active) { $menu_items[] = [ 'href' => $z_root . '/group', - 'label' => '  ' . t('Add new privacy group'), + 'label' => '  ' . t('Add new group'), 'title' => '', 'active' => '', 'count' => '' -- cgit v1.2.3