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
|
@ -16,7 +16,7 @@ function statistics_json_init(App $a) {
|
|||
killme();
|
||||
}
|
||||
|
||||
$statistics = array(
|
||||
$statistics = [
|
||||
"name" => $a->config["sitename"],
|
||||
"network" => FRIENDICA_PLATFORM,
|
||||
"version" => FRIENDICA_VERSION . "-" . DB_UPDATE_VERSION,
|
||||
|
@ -25,9 +25,9 @@ function statistics_json_init(App $a) {
|
|||
"active_users_halfyear" => Config::get('nodeinfo', 'active_users_halfyear'),
|
||||
"active_users_monthly" => Config::get('nodeinfo', 'active_users_monthly'),
|
||||
"local_posts" => Config::get('nodeinfo', 'local_posts')
|
||||
);
|
||||
];
|
||||
|
||||
$statistics["services"] = array();
|
||||
$statistics["services"] = [];
|
||||
$statistics["services"]["appnet"] = plugin_enabled("appnet");
|
||||
$statistics["services"]["blogger"] = plugin_enabled("blogger");
|
||||
$statistics["services"]["buffer"] = plugin_enabled("buffer");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue