]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't force replies to empty set in Poll_response
authorEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 04:49:04 +0000 (00:49 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 04:49:04 +0000 (00:49 -0400)
plugins/Poll/Poll_response.php

index a4ea999933ecdd146a7a80070d17cd9f355c8217..15ddcaf90df9be3514416e32f016665c63c81f66 100644 (file)
@@ -200,12 +200,10 @@ class Poll_response extends Managed_DataObject
         $rendered = sprintf(_m('voted for "%s"'), $link);
 
         $tags    = array();
-        $replies = array();
 
         $options = array_merge(array('urls' => array(),
                                      'rendered' => $rendered,
                                      'tags' => $tags,
-                                     'replies' => $replies,
                                      'reply_to' => $poll->getNotice()->id,
                                      'object_type' => PollPlugin::POLL_RESPONSE_OBJECT),
                                $options);