[Pkg-owncloud-commits] [owncloud] 15/58: 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:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.6
in repository owncloud.
commit 0a1b90929a971139f8e801338fc2e89f1d9fc6c0
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 66b197b..3cf5ceb 100644
--- a/lib/private/share/hooks.php
+++ b/lib/private/share/hooks.php
@@ -61,12 +61,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