diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 0dae774febe4c5a2ddd237f392bb6d5a371566b9..05dd698ab4be97d45a9bec01240bd021dc340afb 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -281,16 +281,6 @@ class Filesystem {
 		}
 	}
 
-	/**
-	 * change the root to a fake root
-	 *
-	 * @param  string $fakeRoot
-	 * @return bool
-	 */
-	static public function chroot($fakeRoot) {
-		return self::$defaultInstance->chroot($fakeRoot);
-	}
-
 	/**
 	 * @brief get the relative path of the root data directory for the current user
 	 * @return string
diff --git a/lib/filesystem.php b/lib/filesystem.php
index ea0a289c8d2bd06fadb95c628798d22662691cb6..20b5ab279097a909e0f28d309baeb84507017816 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -81,17 +81,6 @@ class OC_Filesystem {
 		\OC\Files\Filesystem::tearDown();
 	}
 
-	/**
-	 * change the root to a fake root
-	 *
-	 * @deprecated OC_Filesystem is replaced by \OC\Files\Filesystem
-	 * @param  string $fakeRoot
-	 * @return bool
-	 */
-	static public function chroot($fakeRoot) {
-		return \OC\Files\Filesystem::chroot($fakeRoot);
-	}
-
 	/**
 	 * @brief get the relative path of the root data directory for the current user
 	 * @return string