kopia lustrzana https://github.com/nextcloud/social
Merge branch 'fix-documents-notcached'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/69/head
commit
107c49d141
|
@ -150,7 +150,8 @@ class CacheDocumentsRequest extends CacheDocumentsRequestBuilder {
|
|||
$qb = $this->getCacheDocumentsSelectSql();
|
||||
$this->limitToDBFieldEmpty($qb, 'local_copy');
|
||||
$this->limitToCaching($qb, self::CACHE_TTL);
|
||||
|
||||
$this->limitToDBFieldInt($qb, 'error', 0);
|
||||
|
||||
$documents = [];
|
||||
$cursor = $qb->execute();
|
||||
while ($data = $cursor->fetch()) {
|
||||
|
|
Ładowanie…
Reference in New Issue