remove commented out code
This commit is contained in:
parent
56078fabad
commit
b18e2ceea2
@ -528,9 +528,6 @@ class APnutI
|
|||||||
if ($raw_type === Poll::$notice_type) {
|
if ($raw_type === Poll::$notice_type) {
|
||||||
try {
|
try {
|
||||||
$this->logger->debug('Parsing poll from raw', $raw);
|
$this->logger->debug('Parsing poll from raw', $raw);
|
||||||
/*$data = ['raw' => [
|
|
||||||
Poll::$notice_type => $raw
|
|
||||||
]];*/
|
|
||||||
$polls[] = new Poll($post, $this);
|
$polls[] = new Poll($post, $this);
|
||||||
} catch (NotSupportedPollException) {
|
} catch (NotSupportedPollException) {
|
||||||
$this->logger->warning('Parsing poll from raw failed. Loading from poll id');
|
$this->logger->warning('Parsing poll from raw failed. Loading from poll id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user