fixing namespace

This commit is contained in:
Thomas Mueller 2013-02-12 11:05:12 +01:00
parent a953786d79
commit 6b594c1eb8
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}

View 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 {