OC_Helper::userAvatarSet is not used anymore

This commit is contained in:
Morris Jobke 2015-12-18 11:30:30 +01:00
parent a18c0983d5
commit 4af7bf07bf
1 changed files with 0 additions and 10 deletions

View 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