summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-11-05 14:42:36 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-11-07 13:48:31 +0100
commita10ae2816eac4ab9b891972567d20e15dd2cb202 (patch)
treecb74867eb03dc75a3a315dfaa59206b62040fdeb /lib
parente345697cabd6670e652f4bba7b91269e4efcd794 (diff)
downloadnextcloud-server-a10ae2816eac4ab9b891972567d20e15dd2cb202.tar.gz
nextcloud-server-a10ae2816eac4ab9b891972567d20e15dd2cb202.zip
clean up encryption exceptions
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index dc036c1adca..db8ce14212c 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -100,7 +100,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements \Sabre\
} catch (\OCP\Files\LockNotAcquiredException $e) {
// the file is currently being written to by another process
throw new OC_Connector_Sabre_Exception_FileLocked($e->getMessage(), $e->getCode(), $e);
- } catch (\OCA\Encryption\Exceptions\EncryptionException $e) {
+ } catch (\OCA\Encryption\Exception\EncryptionException $e) {
throw new \Sabre\DAV\Exception\Forbidden($e->getMessage());
}
@@ -156,7 +156,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements \Sabre\
} else {
try {
return $this->fileView->fopen(ltrim($this->path, '/'), 'rb');
- } catch (\OCA\Encryption\Exceptions\EncryptionException $e) {
+ } catch (\OCA\Encryption\Exception\EncryptionException $e) {
throw new \Sabre\DAV\Exception\Forbidden($e->getMessage());
}
}