mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
remove unnecessary code
This commit is contained in:
@@ -1258,9 +1258,6 @@ class AccompanyingPeriod implements
|
|||||||
*/
|
*/
|
||||||
public function setPinnedComment(?Comment $comment = null): self
|
public function setPinnedComment(?Comment $comment = null): self
|
||||||
{
|
{
|
||||||
if (null !== $this->pinnedComment) {
|
|
||||||
$this->removeComment($this->pinnedComment);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (null !== $this->pinnedComment) {
|
if (null !== $this->pinnedComment) {
|
||||||
$this->addComment($this->pinnedComment);
|
$this->addComment($this->pinnedComment);
|
||||||
|
Reference in New Issue
Block a user