Skip to content

Commit

Permalink
This method already was trigged before
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Nov 23, 2023
1 parent 94c0886 commit 878babc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Service/TFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private function getFileRaw(array $data) {
if ($mimetypeFromHeader !== $mimeTypeFromContent) {
throw new \Exception($this->l10n->t('Invalid URL file'));
}
$this->setMimeType($mimeTypeFromContent);
} else {
$content = $this->getFileFromBase64($data['file']['base64']);
}
Expand Down

0 comments on commit 878babc

Please sign in to comment.