mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
small fixes
This commit is contained in:
parent
2e78217f17
commit
9ca9acf3f8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue