]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Merge pull request #10962 from annando/db-doc
[friendica.git] / src / Model / User.php
index 57d5560a47cec7d4ad7e68c64f01b829c3309da7..c43209b22552afcd494a223d4740ff6214a256d7 100644 (file)
@@ -499,26 +499,6 @@ class User
                return $default_group;
        }
 
-
-       /**
-        * Authenticate a user with a clear text password
-        *
-        * @param mixed  $user_info
-        * @param string $password
-        * @param bool   $third_party
-        * @return int|boolean
-        * @deprecated since version 3.6
-        * @see        User::getIdFromPasswordAuthentication()
-        */
-       public static function authenticate($user_info, $password, $third_party = false)
-       {
-               try {
-                       return self::getIdFromPasswordAuthentication($user_info, $password, $third_party);
-               } catch (Exception $ex) {
-                       return false;
-               }
-       }
-
        /**
         * Authenticate a user with a clear text password
         *