$owner is not defined here

Fixes https://github.com/owncloud/core/issues/8539
This commit is contained in:
Lukas Reschke 2014-05-11 15:34:54 +02:00
parent b6d76e9985
commit 60f6d82dcd
1 changed files with 1 additions and 1 deletions

View File

@ -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('');
/**