mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-04 06:31:02 +02:00
WIP S3 stream-wrapper: do not complain about missing files in filesystem, if they are in S3
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user