diff --git a/modules/monitoring/library/Monitoring/Command/Object/WithCommentCommand.php b/modules/monitoring/library/Monitoring/Command/Object/WithCommentCommand.php index 511b769e6..aa2e43994 100644 --- a/modules/monitoring/library/Monitoring/Command/Object/WithCommentCommand.php +++ b/modules/monitoring/library/Monitoring/Command/Object/WithCommentCommand.php @@ -8,12 +8,7 @@ namespace Icinga\Module\Monitoring\Command\Object; */ abstract class WithCommentCommand extends ObjectCommand { - /** - * Author of the comment - * - * @var string - */ - protected $author; + use CommandAuthor; /** * Comment @@ -22,29 +17,6 @@ abstract class WithCommentCommand extends ObjectCommand */ protected $comment; - /** - * Set the author - * - * @param string $author - * - * @return $this - */ - public function setAuthor($author) - { - $this->author = (string) $author; - return $this; - } - - /** - * Get the author - * - * @return string - */ - public function getAuthor() - { - return $this->author; - } - /** * Set the comment *