fix unreachable code

This commit is contained in:
korelstar 2019-11-17 22:05:01 +01:00
parent daa612b971
commit 21c33e167e
1 changed files with 0 additions and 3 deletions

View File

@ -52,9 +52,6 @@ class Note extends Entity {
$note->initCommonBaseFields($file, $notesFolder, $tags);
if (!$onlyMeta) {
$fileContent=$file->getContent();
if ($fileContent===false) {
throw new \Exception("File not found");
}
$note->setContent(self::convertEncoding($fileContent));
}
$note->setModified($file->getMTime());