summaryrefslogtreecommitdiff
path: root/app/Subscriber/LdapUserPhotoSubscriber.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Subscriber/LdapUserPhotoSubscriber.php')
-rw-r--r--app/Subscriber/LdapUserPhotoSubscriber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Subscriber/LdapUserPhotoSubscriber.php b/app/Subscriber/LdapUserPhotoSubscriber.php
index 3cf46077..93672cd1 100644
--- a/app/Subscriber/LdapUserPhotoSubscriber.php
+++ b/app/Subscriber/LdapUserPhotoSubscriber.php
@@ -42,7 +42,7 @@ class LdapUserPhotoSubscriber extends BaseSubscriber implements EventSubscriberI
if (empty($profile['avatar_path']) && ! empty($photo)) {
$this->logger->info('Saving user photo from LDAP profile');
- $this->avatarFile->uploadImageContent($profile['id'], $photo);
+ $this->avatarFileModel->uploadImageContent($profile['id'], $photo);
}
}
}