X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fauth_ejabberd.php;h=e12da35ef1755057b37e78e26e2069ba50fa7035;hb=c0cc65304b06b027219a9f162deaab90fe2a0487;hp=e1900dc7304df8501794b5f9537fc050d59f3e85;hpb=494846023241606be0063cf4ad6d70fb38f35c19;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) {