]> git.mxchange.org Git - friendica.git/blobdiff - mod/repair_ostatus.php
Escape global namespaced get_app() calls
[friendica.git] / mod / repair_ostatus.php
index 1ecf7650419ee850f761a00be63312099ca1f99b..5a6afd9fb4d4853af4391b073789157f553a28fe 100644 (file)
@@ -14,7 +14,7 @@ function repair_ostatus_content(App $a) {
 
        if (! local_user()) {
                notice(L10n::t('Permission denied.') . EOL);
-               $a->redirect('ostatus_repair');
+               $a->internalRedirect('ostatus_repair');
                // NOTREACHED
        }
 
@@ -22,7 +22,7 @@ function repair_ostatus_content(App $a) {
 
        $uid = local_user();
 
-       $a = get_app();
+       $a = \get_app();
 
        $counter = intval($_REQUEST['counter']);