aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/filesystem.php10
-rw-r--r--lib/filesystem.php11
2 files changed, 0 insertions, 21 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 0dae774febe..05dd698ab4b 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -282,16 +282,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 ea0a289c8d2..20b5ab27909 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -82,17 +82,6 @@ class OC_Filesystem {
}
/**
- * 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
*