From 300dabe6b4e9e648c1111363fad8154def7cfb5f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 May 2016 12:59:35 -0400 Subject: Added support for LDAP user photo profile --- app/Controller/AvatarFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/AvatarFile.php') diff --git a/app/Controller/AvatarFile.php b/app/Controller/AvatarFile.php index 5974cde7..45cb1615 100644 --- a/app/Controller/AvatarFile.php +++ b/app/Controller/AvatarFile.php @@ -32,7 +32,7 @@ class AvatarFile extends Base { $user = $this->getUser(); - if (! $this->avatarFile->uploadFile($user['id'], $this->request->getFileInfo('avatar'))) { + if (! $this->avatarFile->uploadImageFile($user['id'], $this->request->getFileInfo('avatar'))) { $this->flash->failure(t('Unable to upload the file.')); } -- cgit v1.2.3