Skip to content

Commit c55ec67

Browse files
authored
Merge pull request #128 from utopia-php/disable-documents-cache
Update all cache statuses
2 parents f7b4823 + e5f1cf7 commit c55ec67

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Migration/Cache.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,7 @@ public function update(Resource $resource): void
137137
* if rows then updating the status counter only
138138
*/
139139
if ($resource->getName() == Resource::TYPE_ROW || $resource->getName() == Resource::TYPE_DOCUMENT) {
140-
$status = $resource->getStatus();
141-
142-
if ($status != Resource::STATUS_SUCCESS) {
143-
$this->add($resource);
144-
}
140+
$this->add($resource);
145141

146142
return;
147143
}

0 commit comments

Comments
 (0)