Revert "fix for webdav and wrong reference for findByStorageId"

This reverts commit 079f918d5c.
This commit is contained in:
Florin Peter 2013-05-20 01:47:35 +02:00
parent 3b850a2524
commit b3b6738d59
2 changed files with 2 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class BackgroundWatcher {
return;
}
list($storageId, $internalPath) = $cacheItem;
$mounts = Mount\Manager::findByStorageId($storageId);
$mounts = Mount::findByStorageId($storageId);
if (count($mounts) === 0) {
//if the storage we need isn't mounted on default, try to find a user that has access to the storage

View File

@ -236,9 +236,7 @@ class Filesystem {
}
static public function initMounts(){
if(!self::$mounts) {
self::$mounts = new Mount\Manager();
}
self::$mounts = new Mount\Manager();
}
/**