deprecate AccessList::widget()

This commit is contained in:
Mario
2022-01-09 15:40:54 +00:00
parent fc02e018cb
commit a35f741a35
3 changed files with 3 additions and 3 deletions

View File

@@ -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))) {

View File

@@ -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' => ''

View File

@@ -1,6 +1,5 @@
[region=aside]
[widget=vcard][/widget]
[widget=collections][var=mode]abook[/var][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]