Skip to content

Commit ab17456

Browse files
remove duplicated code (WP-962)
1 parent 5085d25 commit ab17456

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

inc/Smartling/ContentTypes/Elementor/Elements/IconList.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ public function setTargetContent(
6767
}
6868
}
6969

70-
foreach ($info->getOwnRelatedContent($this->id) as $path => $content) {
71-
assert($content instanceof Content);
72-
$this->raw = $this->setRelations($content, $externalContentElementor, $path, $submission)->toArray();
73-
}
74-
7570
return new self($this->raw);
7671
}
7772
}

0 commit comments

Comments
 (0)