]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/actions/newpoll.php
Merge branch 'master' of git.gnu.io:Quix0r/gnu-social
[quix0rs-gnu-social.git] / plugins / Poll / actions / newpoll.php
index e313bef5487e75b720d5c98d42206176dee1a15e..09d6765fbac74e62fbed816c477708e0f4a430e2 100644 (file)
@@ -125,7 +125,7 @@ class NewPollAction extends Action
     function newPoll()
     {
         if ($this->boolean('ajax')) {
-            StatusNet::setApi(true);
+            GNUsocial::setApi(true);
         }
         try {
             if (empty($this->question)) {