diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php index 67b3f2e7286494052d62e59b194feecb5923fcdb..e0d437839a06627941d21c7fab09d17549a24d39 100644 --- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php @@ -349,12 +349,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common { public function getMimeType($path) { $path = $this->normalizePath($path); - $stat = $this->stat($path); - if (is_array($stat)) { - return $stat['mimetype']; - } else { - return false; - } + return parent::getMimeType($path); } public function touch($path, $mtime = null) {