Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-29 21:58:05 +0400
committerFlorin Peter <github@florin-peter.de>2013-05-31 14:27:49 +0400
commit0fa0e92883c614412deefd9600de3bb7e571f461 (patch)
treef0902f2617f1d49e92f66368273513c96df7e8d8 /lib/public
parent8e80aa3630a7ed0140042fda0b0c91c03e85e7d7 (diff)
fix $parent/$source typo
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/share.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index a5e74826f79..caf208255ae 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -141,10 +141,9 @@ class Share {
$view = new \OC\Files\View('/' . $user . '/files/');
$meta = $view->getFileInfo(\OC_Filesystem::normalizePath($path));
$source = $meta['fileid'];
- $parent = $meta['parent'];
$cache = new \OC\Files\Cache\Cache($meta['storage']);
- while ($parent !== '-1') {
+ while ($source !== '-1') {
// Fetch all shares of this file path from DB
$query = \OC_DB::prepare(