summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-03-03 12:52:27 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2015-03-11 16:37:42 +0100
commit1a0f9c375be12502d9b016c6bdb4c898ec765bbd (patch)
tree6b287f2d71e94740b364d17a5f23424d5f6668aa /lib/private/helper.php
parentcfaee93552b519b8e017e63fd5a82b1e5c9f951b (diff)
downloadnextcloud-server-1a0f9c375be12502d9b016c6bdb4c898ec765bbd.tar.gz
nextcloud-server-1a0f9c375be12502d9b016c6bdb4c898ec765bbd.zip
Avatar controller moved to AppFrameWork
* Original avatarcontroller migrated to the appframework * Added DataDisplayResponse that show data inline in the browser (used to retrun the image) * Removed some unneeded code * Added unit tests for the avatarcontroller
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index fb7049854bb..ebc30395a6b 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -288,7 +288,7 @@ class OC_Helper {
* @return bool avatar set or not
**/
public static function userAvatarSet($user) {
- $avatar = new \OC_Avatar($user);
+ $avatar = new \OC\Avatar($user);
return $avatar->exists();
}