aboutsummaryrefslogtreecommitdiffstats
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
parentfc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 (diff)
downloadvolse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.tar.gz
volse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.tar.bz2
volse-hubzilla-a35f741a3549934a40be17a91b488d48ab7c1953.zip
deprecate AccessList::widget()
-rw-r--r--Zotlabs/Lib/AccessList.php3
-rw-r--r--Zotlabs/Widget/Privacygroups.php2
-rw-r--r--view/pdl/mod_connedit.pdl1
3 files changed, 3 insertions, 3 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' => ''
diff --git a/view/pdl/mod_connedit.pdl b/view/pdl/mod_connedit.pdl
index fa2f2969b..a5461df50 100644
--- a/view/pdl/mod_connedit.pdl
+++ b/view/pdl/mod_connedit.pdl
@@ -1,6 +1,5 @@
[region=aside]
[widget=vcard][/widget]
-[widget=collections][var=mode]abook[/var][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]