mirror of
https://github.com/friendica/friendica
synced 2025-04-28 15:04:26 +02:00
Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
parent
77dfbaa0bf
commit
e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions
|
@ -330,10 +330,10 @@ class Group extends BaseObject
|
|||
$label = t('Default privacy group for new contacts');
|
||||
}
|
||||
|
||||
$o = replace_macros(get_markup_template('group_selection.tpl'), array(
|
||||
$o = replace_macros(get_markup_template('group_selection.tpl'), [
|
||||
'$label' => $label,
|
||||
'$groups' => $display_groups
|
||||
));
|
||||
]);
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
@ -369,7 +369,7 @@ class Group extends BaseObject
|
|||
|
||||
$stmt = dba::select('group', [], ['deleted' => 0, 'uid' => local_user()], ['order' => ['name']]);
|
||||
|
||||
$member_of = array();
|
||||
$member_of = [];
|
||||
if ($cid) {
|
||||
$member_of = self::getIdsByContactId($cid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue