summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 11:05:12 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 11:05:12 +0100
commit6b594c1eb84dccb57c5050f9d686734c98cc6d39 (patch)
treee0372c641a03bdcfb5691dc8e274c6cdcffb66af /apps/files_external/lib
parenta953786d7952f2d758a8111302822708d906875e (diff)
downloadnextcloud-server-6b594c1eb84dccb57c5050f9d686734c98cc6d39.tar.gz
nextcloud-server-6b594c1eb84dccb57c5050f9d686734c98cc6d39.zip
fixing namespace
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/swift.php2
-rw-r--r--apps/files_external/lib/webdav.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index bab49524746..20af67cb8b6 100644
--- a/apps/files_external/lib/swift.php
+++ b/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);
}
}
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 2b7ab4cee0a..2d183c8893d 100644
--- a/apps/files_external/lib/webdav.php
+++ b/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 {