Skip to content

Commit

Permalink
[CLEANUP] Remove duplicate variable definition
Browse files Browse the repository at this point in the history
  • Loading branch information
astehlik committed Jul 1, 2023
1 parent 2ec975a commit 34cbf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private function renderMedia(Media $media): ResponseInterface
// We update the last changed register when a media record has changed because
// the content element will not get this information if no properties in the
// content element are changed.
$contentObject = $contentObject = $this->getCurrentContentObject();
$contentObject = $this->getCurrentContentObject();
$contentObject->lastChanged($media->getTstamp());

if ($mediaType->equals(MediaType::VIDEO)) {
Expand Down

0 comments on commit 34cbf7b

Please sign in to comment.