]> git.mxchange.org Git - friendica.git/blobdiff - include/auth_ejabberd.php
Documentation added
[friendica.git] / include / auth_ejabberd.php
index 01e3389427cf69ef4d8e48ba23dc05a06bdde529..8ee3af8e2be23148342d2eb84bcffb6707ba8da4 100755 (executable)
@@ -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])) {
@@ -219,7 +219,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) {