summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-07-16 12:06:00 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-07-16 12:36:30 +0200
commit8105f2ac8a6451c740a5b827724c2debcfbeba41 (patch)
tree3162befc60e096bd795c62277e147c38d2ddfe77 /apps/files_encryption/appinfo
parentde69c05f992dde91beab513c4f452d9b5985aa0a (diff)
downloadnextcloud-server-8105f2ac8a6451c740a5b827724c2debcfbeba41.tar.gz
nextcloud-server-8105f2ac8a6451c740a5b827724c2debcfbeba41.zip
introduce some encryption exceptions and catch additional error cases
Diffstat (limited to 'apps/files_encryption/appinfo')
-rw-r--r--apps/files_encryption/appinfo/app.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php
index 104e8568caa..a90f618e245 100644
--- a/apps/files_encryption/appinfo/app.php
+++ b/apps/files_encryption/appinfo/app.php
@@ -10,6 +10,10 @@ OC::$CLASSPATH['OCA\Encryption\Session'] = 'files_encryption/lib/session.php';
OC::$CLASSPATH['OCA\Encryption\Capabilities'] = 'files_encryption/lib/capabilities.php';
OC::$CLASSPATH['OCA\Encryption\Helper'] = 'files_encryption/lib/helper.php';
+// Exceptions
+OC::$CLASSPATH['OCA\Encryption\Exceptions\MultiKeyEncryptException'] = 'files_encryption/lib/exceptions.php';
+OC::$CLASSPATH['OCA\Encryption\Exceptions\MultiKeyDecryptException'] = 'files_encryption/lib/exceptions.php';
+
\OCP\Util::addscript('files_encryption', 'encryption');
\OCP\Util::addscript('files_encryption', 'detect-migration');