diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-18 18:28:24 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-09 10:38:37 +0100 |
commit | 49e1a81eba45fe33e00c217758656cf9201ec0cd (patch) | |
tree | 8bf628e52c0003b67677a6fad49adbd01941492d /lib/private/connector/sabre/objecttree.php | |
parent | 4bac595068c813c56d8d5e580e560527ba80194d (diff) | |
download | nextcloud-server-49e1a81eba45fe33e00c217758656cf9201ec0cd.tar.gz nextcloud-server-49e1a81eba45fe33e00c217758656cf9201ec0cd.zip |
fixing namespaces and PHPDoc
Diffstat (limited to 'lib/private/connector/sabre/objecttree.php')
-rw-r--r-- | lib/private/connector/sabre/objecttree.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php index 04ca1d7104d..3705aa80586 100644 --- a/lib/private/connector/sabre/objecttree.php +++ b/lib/private/connector/sabre/objecttree.php @@ -8,6 +8,7 @@ namespace OC\Connector\Sabre; +use OC\Connector\Sabre\Exception\InvalidPath; use OC\Files\FileInfo; use OC\Files\Filesystem; use OC\Files\Mount\MoveableMount; @@ -189,7 +190,7 @@ class ObjectTree extends \Sabre\DAV\Tree { try { $this->fileView->verifyPath($destinationDir, $fileName); } catch (\OCP\Files\InvalidPathException $ex) { - throw new OC_Connector_Sabre_Exception_InvalidPath($ex->getMessage()); + throw new InvalidPath($ex->getMessage()); } $renameOkay = $this->fileView->rename($sourcePath, $destinationPath); |