]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Merge pull request #11641 from tobiasd/20220613-lng
[friendica.git] / mod / fbrowser.php
index 4e887c7eb0456a99a31452345ff79775d3d01c63..81284d6b91ef27d654d9c078d2333ab295b41176 100644 (file)
@@ -39,13 +39,11 @@ use Friendica\Util\Strings;
 function fbrowser_content(App $a)
 {
        if (!local_user()) {
-               DI::page()->logRuntime();
-               exit();
+               System::exit();
        }
 
        if (DI::args()->getArgc() == 1) {
-               DI::page()->logRuntime();
-               exit();
+               System::exit();
        }
 
        // Needed to match the correct template in a module that uses a different theme than the user/site/default