]> source.dussan.org Git - nextcloud-server.git/commitdiff
OC_Helper::userAvatarSet is not used anymore
authorMorris Jobke <hey@morrisjobke.de>
Fri, 18 Dec 2015 10:30:30 +0000 (11:30 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 18 Dec 2015 10:30:30 +0000 (11:30 +0100)
lib/private/helper.php

index 08ddf2b0522b5d7aa652b80d180e55919d2c0038..c6223d2147aea847bd22791330af65746950cb12 100644 (file)
@@ -164,16 +164,6 @@ class OC_Helper {
                return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_public_preview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]);
        }
 
-       /**
-        * shows whether the user has an avatar
-        * @param string $user username
-        * @return bool avatar set or not
-        * @deprecated 9.0.0 Use \OC::$server->getAvatarManager()->getAvatar($user)->exists();
-       **/
-       public static function userAvatarSet($user) {
-               return \OC::$server->getAvatarManager()->getAvatar($user)->exists();
-       }
-
        /**
         * Make a human file size
         * @param int $bytes file size in bytes