Generate internal filenames based on attachment name.

The filename of the uploaded file is now safed in the database.
This commit is contained in:
Jan Böhmer 2019-09-24 18:39:11 +02:00
parent eb1d8fd4e4
commit 67fe47bbb9
2 changed files with 4 additions and 14 deletions

View file

@ -237,6 +237,7 @@ abstract class Attachment extends NamedDBElement
public function setFilename(?string $new_filename): Attachment
{
$this->original_filename = $new_filename;
return $this;
}
/**