don't do a full setup for `findByStorageId`

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/31773/head
Robin Appelman 4 years ago
parent 44a8ebdc1f
commit 8b12c75ca2
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 1
      lib/private/Files/Mount/Manager.php

@ -158,7 +158,6 @@ class Manager implements IMountManager {
* @return IMountPoint[]
*/
public function findByStorageId(string $id): array {
\OC_Util::setupFS();
if (\strlen($id) > 64) {
$id = md5($id);
}

Loading…
Cancel
Save