fixed: Collaboration System attachments follow site's max size instead of CS's
This commit is contained in:
parent
1c589b5ee8
commit
308671edd0
3 changed files with 6 additions and 6 deletions
|
|
@ -845,7 +845,7 @@ sub postProcess {
|
|||
my $storage = $self->getStorageLocation;
|
||||
foreach my $file (@{$storage->getFiles}) {
|
||||
if ($storage->isImage($file)) {
|
||||
$storage->adjustMaxImageSize($file);
|
||||
$storage->adjustMaxImageSize($file, $self->getThread->getParent->get('maxImageSize'));
|
||||
$storage->generateThumbnail($file, $self->getThread->getParent->get("thumbnailSize"));
|
||||
}
|
||||
$size += $storage->getFileSize($file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue