$owner is not defined here
Fixes https://github.com/owncloud/core/issues/8539
This commit is contained in:
parent
b6d76e9985
commit
60f6d82dcd
|
@ -6,7 +6,7 @@ if (OC::$CLI) {
|
|||
if (count($argv) === 2) {
|
||||
$file = $argv[1];
|
||||
list(, $user) = explode('/', $file);
|
||||
OCP\JSON::checkUserExists($owner);
|
||||
OCP\JSON::checkUserExists($user);
|
||||
OC_Util::setupFS($user);
|
||||
$view = new \OC\Files\View('');
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue