summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/keymanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/lib/keymanager.php')
-rwxr-xr-xapps/files_encryption/lib/keymanager.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php
index c6669081a20..301e5b33fd8 100755
--- a/apps/files_encryption/lib/keymanager.php
+++ b/apps/files_encryption/lib/keymanager.php
@@ -1,5 +1,6 @@
<?php
-/***
+
+/**
* ownCloud
*
* @author Bjoern Schiessle
@@ -27,8 +28,6 @@ namespace OCA\Encryption;
* @note Where a method requires a view object, it's root must be '/'
*/
class Keymanager {
-
- # TODO: make all dependencies (including static classes) explicit, such as ocfsview objects, by adding them as method arguments (dependency injection)
/**
* @brief retrieve the ENCRYPTED private key from a user
@@ -259,7 +258,7 @@ class Keymanager {
//
// }
- $view = new \OC_FilesystemView('/'.$user.'/files_encryption/keyfiles/');
+ $view = new \OC_FilesystemView( '/' . $user. '/files_encryption/keyfiles/' );
return $view->unlink( $keypath . '.key' );