X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fauth_ejabberd.php;h=e12da35ef1755057b37e78e26e2069ba50fa7035;hb=61c1317f804d8519492af249f8b4b8985f6cec5e;hp=e1900dc7304df8501794b5f9537fc050d59f3e85;hpb=c0aac548274d463c611a9c0317fa6ec7d205a30e;p=friendica.git diff --git a/include/auth_ejabberd.php b/include/auth_ejabberd.php index e1900dc730..e12da35ef1 100755 --- a/include/auth_ejabberd.php +++ b/include/auth_ejabberd.php @@ -146,7 +146,7 @@ class exAuth { * @param array $aCommand The command array */ private function isuser($aCommand) { - global $a; + $a = get_app(); // Check if there is a username if (!isset($aCommand[1])) { @@ -214,7 +214,7 @@ class exAuth { * @param array $aCommand The command array */ private function auth($aCommand) { - global $a; + $a = get_app(); // check user authentication if (sizeof($aCommand) != 4) {