]> git.mxchange.org Git - friendica.git/blobdiff - mod/maintenance.php
Merge pull request #4243 from MrPetovan/task/switch-to-array-new-style
[friendica.git] / mod / maintenance.php
index b1fb2a53e1d7ce3c89e41e93560f2a7e610a0f2b..adc9fab166f12a40a2a4a00c802b42c0dfaf69f2 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 
+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
-       ));
+       ]);
 }