mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
Use short form array syntax everywhere
This commit is contained in:
parent
4ee41c64a3
commit
27b60e003f
68 changed files with 869 additions and 869 deletions
|
@ -246,10 +246,10 @@ function jappixmini_init()
|
|||
|
||||
$encrypted_address_hex = bin2hex($encrypted_address);
|
||||
|
||||
$answer = Array(
|
||||
$answer = [
|
||||
"status" => "ok",
|
||||
"encrypted_address" => $encrypted_address_hex
|
||||
);
|
||||
];
|
||||
|
||||
$answer_json = json_encode($answer);
|
||||
echo $answer_json;
|
||||
|
@ -514,7 +514,7 @@ function jappixmini_script(App $a)
|
|||
}
|
||||
|
||||
// get a list of jabber accounts of the contacts
|
||||
$contacts = Array();
|
||||
$contacts = [];
|
||||
$uid = local_user();
|
||||
$rows = q("SELECT * FROM `pconfig` WHERE `uid`=$uid AND `cat`='jappixmini' AND `k` LIKE 'id:%%'");
|
||||
foreach ($rows as $row) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue