]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/actions/respondpoll.php
Merge branch 'master' of git.gnu.io:Quix0r/gnu-social
[quix0rs-gnu-social.git] / plugins / Poll / actions / respondpoll.php
index c2b577209e29b54acc2112f809a7e1bfb508367a..c78038478daae2244a9d4a24852d49a9d5b1639d 100644 (file)
@@ -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();