From 1a0f9c375be12502d9b016c6bdb4c898ec765bbd Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma <roeland@famdouma.nl> Date: Tue, 3 Mar 2015 12:52:27 +0100 Subject: 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 --- lib/private/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/helper.php') 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(); } -- cgit v1.2.3