From 8587f565d2a7f72ec0244e508370447810199bfe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Wed, 29 May 2013 15:14:15 +0200
Subject: [PATCH] remove unnecessary variable

---
 lib/public/share.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/public/share.php b/lib/public/share.php
index 2b7bf59219..8508eb96e5 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -207,8 +207,7 @@ class Share {
 			
 			// let's get the parent for the next round
 			$meta = $cache->get((int)$source);
-			$parent = $meta['parent'];
-			$source = $parent;
+			$source = $meta['parent'];
 		}
 		// Include owner in list of users, if requested
 		if ($includeOwner) {
-- 
GitLab