From f45117381702312b502e749089cba2e49d492d50 Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <schiessle@owncloud.com>
Date: Tue, 5 Aug 2014 20:34:18 +0200
Subject: [PATCH] remove unused variable

---
 apps/files_sharing/lib/api.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/files_sharing/lib/api.php b/apps/files_sharing/lib/api.php
index faf141db25..8556036f11 100644
--- a/apps/files_sharing/lib/api.php
+++ b/apps/files_sharing/lib/api.php
@@ -64,7 +64,6 @@ class Api {
 						$share['isPreviewAvailable'] = true;
 					}
 				}
-				$newShares[] = $share;
 			}
 			return new \OC_OCS_Result($shares);
 		}
-- 
GitLab