mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
remove unnecessary code
This commit is contained in:
parent
f5efb07e3c
commit
51d1e5422b
@ -1258,9 +1258,6 @@ class AccompanyingPeriod implements
|
||||
*/
|
||||
public function setPinnedComment(?Comment $comment = null): self
|
||||
{
|
||||
if (null !== $this->pinnedComment) {
|
||||
$this->removeComment($this->pinnedComment);
|
||||
}
|
||||
|
||||
if (null !== $this->pinnedComment) {
|
||||
$this->addComment($this->pinnedComment);
|
||||
|
Loading…
x
Reference in New Issue
Block a user