Set filePath variable

This commit is contained in:
Michael Gapczynski 2012-08-06 16:46:44 -04:00
parent 1b21cde2b3
commit 5e95e2a131
1 changed files with 2 additions and 1 deletions

View File

@ -629,7 +629,7 @@ class Share {
$parent = $checkReshare['id'];
$itemSource = $checkReshare['item_source'];
$fileSource = $checkReshare['file_source'];
$fileTarget = $checkReshare['file_target'];
$filePath = $checkReshare['file_target'];
} else {
$message = 'Sharing '.$itemSource.' failed, because resharing is not allowed';
\OC_Log::write('OCP\Share', $message, \OC_Log::ERROR);
@ -653,6 +653,7 @@ class Share {
throw new \Exception($message);
}
} else {
$filePath = null;
$fileSource = null;
}
}