mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fixing namespace
This commit is contained in:
parent
a953786d79
commit
6b594c1eb8
2 changed files with 3 additions and 3 deletions
|
|
@ -264,7 +264,7 @@ class SWIFT extends \OC\Files\Storage\Common{
|
|||
private function getSubContainerFile($container) {
|
||||
try {
|
||||
return $container->get_object(self::SUBCONTAINER_FILE);
|
||||
} catch(NoSuchObjectException $e) {
|
||||
} catch(\NoSuchObjectException $e) {
|
||||
return $container->create_object(self::SUBCONTAINER_FILE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ class DAV extends \OC\Files\Storage\Common{
|
|||
$this->client->addTrustedCertificates($certPath);
|
||||
}
|
||||
}
|
||||
//create the root folder if necesary
|
||||
//create the root folder if necessary
|
||||
$this->mkdir('');
|
||||
}
|
||||
|
||||
|
|
@ -317,7 +317,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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue