[Pkg-owncloud-commits] [owncloud] 13/131: owner is stored as 'uid_owner', not as 'owner' in the oc_share table

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 15:58:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.

commit 1427a79643d38ba3d19e98671f3b2ef5db72b5c5
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Thu Jul 2 10:49:22 2015 +0200

    owner is stored as 'uid_owner', not as 'owner' in the oc_share table
---
 lib/private/share/hooks.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/share/hooks.php b/lib/private/share/hooks.php
index 6eff4cc..b0d4f06 100644
--- a/lib/private/share/hooks.php
+++ b/lib/private/share/hooks.php
@@ -63,12 +63,12 @@ class Hooks extends \OC\Share\Constants {
 				$itemTarget = $sourceExists['item_target'];
 			} else {
 				$itemTarget = Helper::generateTarget($item['item_type'], $item['item_source'], self::SHARE_TYPE_USER, $arguments['uid'],
-					$item['owner'], null, $item['parent']);
+					$item['uid_owner'], null, $item['parent']);
 
 				// do we also need a file target
 				if ($item['item_type'] === 'file' || $item['item_type'] === 'folder') {
 					$fileTarget = Helper::generateTarget('file', $item['file_target'], self::SHARE_TYPE_USER, $arguments['uid'],
-							$item['owner'], null, $item['parent']);
+							$item['uid_owner'], null, $item['parent']);
 				} else {
 					$fileTarget = null;
 				}

-- 
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