diff options
author | Mario <mario@mariovavti.com> | 2022-01-09 15:40:54 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-09 15:40:54 +0000 |
commit | a35f741a3549934a40be17a91b488d48ab7c1953 (patch) | |
tree | bc16968e35def723f7e0eeb7f7ec18dabffa19c4 /Zotlabs | |
parent | fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 (diff) | |
download | volse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.tar.gz volse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.tar.bz2 volse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.zip |
deprecate AccessList::widget()
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/AccessList.php | 3 | ||||
-rw-r--r-- | Zotlabs/Widget/Privacygroups.php | 2 |
2 files changed, 3 insertions, 2 deletions
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' => '<i class="fa fa-plus"></i> ' . t('Add new privacy group'), + 'label' => '<i class="fa fa-plus"></i> ' . t('Add new group'), 'title' => '', 'active' => '', 'count' => '' |