]> 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>
Thu, 13 Jun 2013 11:26:18 +0000 (13:26 +0200)
apps/files_encryption/hooks/hooks.php

index cd48e5ecd9b17667ec73b6e2b78d23de0f663981..10beb86da1166bf98b2900406d0bab0c6a2f278b 100644 (file)
@@ -68,7 +68,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
                $ready = false;\r