Browse Source

fixing namespace

remotes/origin/stable5
Thomas Mueller 13 years ago
parent
commit
6b594c1eb8
  1. 2
      apps/files_external/lib/swift.php
  2. 4
      apps/files_external/lib/webdav.php

2
apps/files_external/lib/swift.php

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

4
apps/files_external/lib/webdav.php

@ -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…
Cancel
Save