get_shares now grings information about owner of the share.

This commit is contained in:
viniciuscb 2004-11-16 06:03:42 +00:00
parent f0d65a40f3
commit da954d0f98

View File

@ -214,7 +214,8 @@
$sql = "SELECT DISTINCT sh.file_id as file_id, $sql = "SELECT DISTINCT sh.file_id as file_id,
sh.acl_rights as acl_rights, sh.acl_rights as acl_rights,
fls.directory as directory, fls.directory as directory,
fls.name as name fls.name as name,
fls.owner_id as owner_id
FROM phpgw_vfs2_shares as sh, FROM phpgw_vfs2_shares as sh,
phpgw_vfs2_files as fls phpgw_vfs2_files as fls
WHERE sh.file_id = fls.file_id WHERE sh.file_id = fls.file_id
@ -236,7 +237,8 @@
$sql = "SELECT DISTINCT sh.file_id as file_id, $sql = "SELECT DISTINCT sh.file_id as file_id,
sh.acl_rights as acl_rights, sh.acl_rights as acl_rights,
fls.directory as directory, fls.directory as directory,
fls.name as name fls.name as name,
fls.owner_id as owner_id
FROM phpgw_vfs2_shares as sh, FROM phpgw_vfs2_shares as sh,
phpgw_vfs2_files as fls phpgw_vfs2_files as fls
WHERE sh.file_id = fls.file_id WHERE sh.file_id = fls.file_id
@ -287,7 +289,8 @@
$sql = "SELECT DISTINCT sh.file_id as file_id, $sql = "SELECT DISTINCT sh.file_id as file_id,
sh.acl_rights as acl_rights, sh.acl_rights as acl_rights,
fls.directory as directory, fls.directory as directory,
fls.name as name fls.name as name,
fls.owner_id as owner_id
FROM phpgw_vfs2_shares as sh, FROM phpgw_vfs2_shares as sh,
phpgw_vfs2_files as fls phpgw_vfs2_files as fls
WHERE sh.file_id = fls.file_id WHERE sh.file_id = fls.file_id