Commit 9ca9acf3 authored by Bjoern Schiessle's avatar Bjoern Schiessle
Browse files

small fixes

parent 2e78217f
......@@ -485,7 +485,7 @@ class Hooks {
// create key folders if it doesn't exists
if (!$view->file_exists(dirname($newKeysPath))) {
$view->mkdir(dirname($newKeysPath));
$view->mkdir(dirname($newKeysPath));
}
$view->$operation($oldKeysPath, $newKeysPath);
......@@ -566,7 +566,7 @@ class Hooks {
return true;
}
$util = new Util(new \OC\Files\View('/'), \OCP\USER::getUser());
$util = new Util($view, \OCP\USER::getUser());
$keysPath = Keymanager::getKeyPath($view, $util, $path);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment