[Pkg-owncloud-commits] [owncloud] 167/258: for group shares we don't need a extra db entry of groupTarget equals itemTarget
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 6d85cf2a0b021a9406a979c2d791ab665f275be9
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Fri Sep 26 13:10:31 2014 +0200
for group shares we don't need a extra db entry of groupTarget equals itemTarget
---
lib/private/share/share.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 3bae382..efd8a22 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1660,9 +1660,9 @@ class Share extends \OC\Share\Constants {
$itemTarget = $sourceExists['item_target'];
// for group shares we don't need a additional entry if the target is the same
- //if($isGroupShare && $groupItemTarget === $itemTarget) {
- // continue;
- //}
+ if($isGroupShare && $groupItemTarget === $itemTarget) {
+ continue;
+ }
} elseif(!$sourceExists && !$isGroupShare) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list