mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
WIP S3 stream-wrapper: do not complain about missing files in filesystem, if they are in S3
This commit is contained in:
parent
bb93cd205c
commit
5cb26394a7
@ -259,7 +259,8 @@ class Utils extends StreamWrapper
|
||||
$limit = 500;
|
||||
$offset = 0;
|
||||
$select_stmt = self::$pdo->prepare('SELECT fs_id FROM '.self::TABLE.
|
||||
" WHERE fs_mime!='httpd/unix-directory' AND fs_content IS NULL AND fs_link IS NULL LIMIT $limit OFFSET :offset");
|
||||
" WHERE fs_mime!='httpd/unix-directory' AND fs_content IS NULL AND fs_link IS NULL AND (fs_s3_flags&7)=0".
|
||||
" LIMIT $limit OFFSET :offset");
|
||||
$select_stmt->setFetchMode(PDO::FETCH_ASSOC);
|
||||
do {
|
||||
$num = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user