diff --git a/lib/Model/Poll.php b/lib/Model/Poll.php index 917a27f7262..09dabab23b7 100644 --- a/lib/Model/Poll.php +++ b/lib/Model/Poll.php @@ -160,17 +160,12 @@ public function setOptions(array $options): void { $this->setter('options', [$jsonOptions]); } - public function getOptions(): string { - return $this->options; - } - /** * @param string $question * @return void * @throws PollPropertyException */ public function setQuestion(string $question): void { - nvlog($question); $question = trim($question); if ($question === '' || strlen($question) > 32_000) { throw new PollPropertyException(PollPropertyException::REASON_QUESTION); @@ -178,8 +173,4 @@ public function setQuestion(string $question): void { $this->setter('question', [$question]); } - - public function getQuestion(): string { - return $this->question; - } }