Merge pull request #1915 from owncloud/fix_webdav_mount

cleanPath needs to be public
This commit is contained in:
Frank Karlitschek 2013-02-26 06:20:58 -08:00
commit 1591b2f8d0

View file

@ -313,7 +313,7 @@ class DAV extends \OC\Files\Storage\Common{
}
}
private function cleanPath($path) {
public function cleanPath($path) {
if ( ! $path || $path[0]=='/') {
return substr($path, 1);
} else {