[ATTACHMENTS] Always store in the same location
This commit is contained in:
@@ -122,8 +122,7 @@ END;
|
||||
$filesize = $f->getSize();
|
||||
Event::handle('EnforceQuota', [$actor_id, $filesize]);
|
||||
$processed_attachments[] = GSFile::sanitizeAndStoreFileAsAttachment(
|
||||
$f,
|
||||
dest_dir: Common::config('attachments', 'dir')
|
||||
$f
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user