Skip to content

Commit

Permalink
no mimetype handling code #26655
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN authored and Vincent Petry committed Mar 9, 2017
1 parent ee1c201 commit fd277fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/private/Files/Storage/Wrapper/Checksum.php
Expand Up @@ -89,6 +89,11 @@ public function getMetaData($path) {
$parentMetaData = parent::getMetaData($path);
$parentMetaData['checksum'] = ChecksumStream::getChecksum($path);

// Need to investigate more
if (!isset($parentMetaData['mimetype'])) {
$parentMetaData['mimetype'] = '';
}

return $parentMetaData;
}
}

0 comments on commit fd277fd

Please sign in to comment.