fixed: profile photos don't obey max image size
This commit is contained in:
parent
221d5ac0aa
commit
53bdfda753
6 changed files with 15 additions and 8 deletions
|
|
@ -229,9 +229,6 @@ sub processPropertiesFromFormPost {
|
|||
my $size = 0;
|
||||
my $storage = $self->getStorageLocation;
|
||||
foreach my $file (@{$storage->getFiles}) {
|
||||
if ($storage->isImage($file)) {
|
||||
$storage->adjustMaxImageSize($size);
|
||||
}
|
||||
$size += $storage->getFileSize($file);
|
||||
}
|
||||
$self->setSize($size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue