Rename all models
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user