mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Collabora: Use the same file ID when accessing via share
This commit is contained in:
parent
72aa549f88
commit
e420a6db10
@ -1583,9 +1583,9 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface
|
||||
$fs_id = $stat['ino'];
|
||||
|
||||
$query = 'SELECT MIN(B.fs_id)
|
||||
FROM '.self::TABLE.' as A
|
||||
JOIN '.self::TABLE.' AS B ON A.fs_name = B.fs_name AND A.fs_dir = B.fs_dir AND A.fs_active = '.
|
||||
self::_pdo_boolean(true).' AND B.fs_active = '.self::_pdo_boolean(false).'
|
||||
FROM ' . self::TABLE . ' as A
|
||||
JOIN ' . self::TABLE . ' AS B ON A.fs_name = B.fs_name AND A.fs_dir = B.fs_dir AND A.fs_active = ' .
|
||||
self::_pdo_boolean(true) . ' AND B.fs_active = ' . self::_pdo_boolean(true) . '
|
||||
WHERE A.fs_id=?
|
||||
GROUP BY A.fs_id';
|
||||
if (self::LOG_LEVEL > 2)
|
||||
|
Loading…
Reference in New Issue
Block a user