diff --git a/lib/cache/file.php b/lib/cache/file.php
index fa62dd3b16262140c486493cb6ffb1f543bb6831..a51f0d68f8259823a0455e36d44a3eb0fd629dc7 100644
--- a/lib/cache/file.php
+++ b/lib/cache/file.php
@@ -8,7 +8,7 @@
 
 
 class OC_Cache_File{
-	protected $storage;
+	protected static $storage;
 	protected function getStorage() {
 		if (isset(self::$storage)) {
 			return self::$storage;