Use short form array syntax everywhere

- Add short form array syntax to po2php.php generation
This commit is contained in:
Hypolite Petovan 2018-01-15 08:05:12 -05:00
commit e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions

View file

@ -9,7 +9,7 @@ function oexchange_init(App $a) {
if (($a->argc > 1) && ($a->argv[1] === 'xrd')) {
$tpl = get_markup_template('oexchange_xrd.tpl');
$o = replace_macros($tpl, array('$base' => System::baseUrl()));
$o = replace_macros($tpl, ['$base' => System::baseUrl()]);
echo $o;
killme();
}
@ -44,7 +44,7 @@ function oexchange_content(App $a) {
require_once('include/html2bbcode.php');
$post = array();
$post = [];
$post['profile_uid'] = local_user();
$post['return'] = '/oexchange/done' ;