]> source.dussan.org Git - nextcloud-server.git/commitdiff
$session->setPrivateKey expects only one parameter
authorBjörn Schießle <schiessle@owncloud.com>
Mon, 3 Jun 2013 13:26:58 +0000 (15:26 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Mon, 3 Jun 2013 13:26:58 +0000 (15:26 +0200)
apps/files_encryption/hooks/hooks.php

index 47e240769bc3c328f412270e144473252891a03a..5271b51202c362c7d9a5a8b7b240db19e095f9af 100644 (file)
@@ -63,7 +63,7 @@ class Hooks {
 \r
                $session = new \OCA\Encryption\Session($view);\r
 \r
-               $session->setPrivateKey($privateKey, $params['uid']);\r
+               $session->setPrivateKey($privateKey);\r
 \r
                // Check if first-run file migration has already been performed\r
                $migrationCompleted = $util->getMigrationStatus();\r