Skip to content

Commit

Permalink
CS fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbieniek committed May 9, 2023
1 parent c82c9b7 commit 4b7e56c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion eZ/Publish/Core/Persistence/Cache/ContentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ public function updateContent($contentId, $versionNo, UpdateStruct $struct)
$content = $this->persistenceHandler->contentHandler()->updateContent($contentId, $versionNo, $struct);
$locations = $this->persistenceHandler->locationHandler()->loadLocationsByContent($contentId);


$locationTags = array_map(function (Content\Location $location) {
return $this->cacheIdentifierGenerator->generateTag(self::LOCATION_IDENTIFIER, [$location->id]);
}, $locations);
Expand Down
1 change: 0 additions & 1 deletion eZ/Publish/Core/Persistence/Cache/TrashHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ public function emptyTrash()

$tags[$this->cacheIdentifierGenerator->generateTag(self::CONTENT_IDENTIFIER, [$trashedItem->contentId])] = true;
$tags[$this->cacheIdentifierGenerator->generateTag(self::LOCATION_PATH_IDENTIFIER, [$trashedItem->id])] = true;

}
$offset += self::EMPTY_TRASH_BULK_SIZE;
// Once offset is larger than total count we can exit
Expand Down

0 comments on commit 4b7e56c

Please sign in to comment.