aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-09 15:40:54 +0000
committerMario <mario@mariovavti.com>2022-01-09 15:40:54 +0000
commita35f741a3549934a40be17a91b488d48ab7c1953 (patch)
treebc16968e35def723f7e0eeb7f7ec18dabffa19c4 /Zotlabs
parentfc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 (diff)
downloadvolse-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.php3
-rw-r--r--Zotlabs/Widget/Privacygroups.php2
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> &nbsp;' . t('Add new privacy group'),
+ 'label' => '<i class="fa fa-plus"></i> &nbsp;' . t('Add new group'),
'title' => '',
'active' => '',
'count' => ''