mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
deprecate AccessList::widget()
This commit is contained in:
@@ -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))) {
|
||||
|
||||
@@ -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' => ''
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
[region=aside]
|
||||
[widget=vcard][/widget]
|
||||
[widget=collections][var=mode]abook[/var][/widget]
|
||||
[/region]
|
||||
[region=right_aside]
|
||||
[widget=notifications][/widget]
|
||||
|
||||
Reference in New Issue
Block a user