From: Morris Jobke Date: Fri, 18 Dec 2015 10:30:30 +0000 (+0100) Subject: OC_Helper::userAvatarSet is not used anymore X-Git-Tag: v9.0beta1~459^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4af7bf07bfa45df2bcdf618b95059fb49d8d9eb4;p=nextcloud-server.git OC_Helper::userAvatarSet is not used anymore --- diff --git a/lib/private/helper.php b/lib/private/helper.php index 08ddf2b0522..c6223d2147a 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -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