remove chroot from filesystem api
This commit is contained in:
parent
3ff0772a05
commit
01594b8610
|
@ -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
|
* @brief get the relative path of the root data directory for the current user
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
@ -81,17 +81,6 @@ class OC_Filesystem {
|
||||||
\OC\Files\Filesystem::tearDown();
|
\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
|
* @brief get the relative path of the root data directory for the current user
|
||||||
* @return string
|
* @return string
|
||||||
|
|
Loading…
Reference in New Issue