mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54: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
|
@ -34,7 +34,7 @@ function notes_content(App $a, $update = false) {
|
|||
require_once('include/security.php');
|
||||
require_once('include/conversation.php');
|
||||
require_once('include/acl_selectors.php');
|
||||
$groups = array();
|
||||
$groups = [];
|
||||
|
||||
|
||||
$o = '';
|
||||
|
@ -55,7 +55,7 @@ function notes_content(App $a, $update = false) {
|
|||
$commpage = false;
|
||||
$commvisitor = false;
|
||||
|
||||
$x = array(
|
||||
$x = [
|
||||
'is_owner' => $is_owner,
|
||||
'allow_location' => (($a->user['allow_location']) ? true : false),
|
||||
'default_location' => $a->user['default-location'],
|
||||
|
@ -67,7 +67,7 @@ function notes_content(App $a, $update = false) {
|
|||
'profile_uid' => local_user(),
|
||||
'button' => t('Save'),
|
||||
'acl_data' => '',
|
||||
);
|
||||
];
|
||||
|
||||
$o .= status_editor($a,$x,$a->contact['id']);
|
||||
|
||||
|
@ -106,7 +106,7 @@ function notes_content(App $a, $update = false) {
|
|||
|
||||
);
|
||||
|
||||
$parents_arr = array();
|
||||
$parents_arr = [];
|
||||
$parents_str = '';
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue