]> git.mxchange.org Git - friendica.git/blobdiff - bin/auth_ejabberd.php
simplifying unittests (#5395)
[friendica.git] / bin / auth_ejabberd.php
index 6c078e2249dbb016cfa038a10ffafac7035093e3..7ad28c96f5660c3c8da843c91c97b3b308404426 100755 (executable)
@@ -54,6 +54,7 @@ require_once "include/dba.php";
 
 $a = new App(dirname(__DIR__));
 
-$oAuth = new ExAuth();
-
-$oAuth->readStdin();
\ No newline at end of file
+if ($a->mode === App::MODE_NORMAL) {
+       $oAuth = new ExAuth();
+       $oAuth->readStdin();
+}
\ No newline at end of file