]> git.mxchange.org Git - friendica.git/blobdiff - mod/maintenance.php
Use short form array syntax everywhere
[friendica.git] / mod / maintenance.php
index c4839de79213503490372d9881fd8900850827d2..adc9fab166f12a40a2a4a00c802b42c0dfaf69f2 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
-use \Friendica\Core\Config;
+use Friendica\App;
+use Friendica\Core\Config;
 
 function maintenance_content(App $a) {
 
@@ -16,8 +17,8 @@ function maintenance_content(App $a) {
        header('Status: 503 Service Temporarily Unavailable');
        header('Retry-After: 600');
 
-       return replace_macros(get_markup_template('maintenance.tpl'), array(
+       return replace_macros(get_markup_template('maintenance.tpl'), [
                '$sysdown' => t('System down for maintenance'),
                '$reason' => $reason
-       ));
+       ]);
 }