diff --git a/lib/private/files/objectstore/abstractobjectstore.php b/lib/private/files/objectstore/abstractobjectstore.php
index db4c398018e4dd5d5ee932f10c3f6342b3d5ef33..de82003f0e8707336270ab4883e0dd57121bb0dc 100644
--- a/lib/private/files/objectstore/abstractobjectstore.php
+++ b/lib/private/files/objectstore/abstractobjectstore.php
@@ -69,17 +69,6 @@ abstract class AbstractObjectStore extends \OC\Files\Storage\Common {
 		}
 	}
 
-	/**
-	 * @param string $path
-	 * @return \OC\Files\Cache\Cache
-	 */
-	public function getCache($path = '') {
-		if (!isset($this->cache)) {
-			$this->cache = new \OC\Files\Cache\Cache($this);
-		}
-		return $this->cache;
-	}
-
 	/**
 	 * Object Stores use a NoopScanner because metadata is directly stored in
 	 * the file cache and cannot really scan the filesystem