X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FPoll%2Factions%2Frespondpoll.php;h=c78038478daae2244a9d4a24852d49a9d5b1639d;hb=dd03e55e125c357eeaeca5eb41d04e7c031824c2;hp=c2b577209e29b54acc2112f809a7e1bfb508367a;hpb=b92ef93d36947e64da2e2078531848539d18bfea;p=quix0rs-gnu-social.git diff --git a/plugins/Poll/actions/respondpoll.php b/plugins/Poll/actions/respondpoll.php index c2b577209e..c78038478d 100644 --- a/plugins/Poll/actions/respondpoll.php +++ b/plugins/Poll/actions/respondpoll.php @@ -74,7 +74,7 @@ class RespondPollAction extends Action { parent::prepare($argarray); if ($this->boolean('ajax')) { - StatusNet::setApi(true); + GNUsocial::setApi(true); } $this->user = common_current_user();