summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-07-31 19:35:36 +0100
committerSam Tuke <samtuke@owncloud.com>2012-07-31 19:35:36 +0100
commit84fd62b13047cb756d9f39c192e17fd5f2179f83 (patch)
tree4bf274a8046758a231dbb5d848a5fccc2d98133b /apps/files_encryption/hooks
parentf6863f9e51ca1523e43c92a1ecbfe6f70c090494 (diff)
downloadnextcloud-server-84fd62b13047cb756d9f39c192e17fd5f2179f83.tar.gz
nextcloud-server-84fd62b13047cb756d9f39c192e17fd5f2179f83.zip
Implemented writing of keyfiles and directory hierarchy in proxy class
Added crypt::findFiles() method for finding different types of files, ready for batch encrypting / decrypting Added comments to postFopen in proxy class
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 35e14e28106..d06e9a0d2d3 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -37,14 +37,14 @@ class Hooks {
public static function login( $params ) {
- if (Crypt::mode($params['uid'])=='server') {
+ if ( Crypt::mode( $params['uid'] ) == 'server' ) {
$view = new \OC_FilesystemView( '/' );
$util = new Util( $view, $params['uid'] );
if ( !$util->ready()) {
-
+
return $util->setupServerSide( $params['password'] );
}