]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
backwards
authorBrion Vibber <brion@pobox.com>
Thu, 10 Mar 2011 21:45:31 +0000 (13:45 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 10 Mar 2011 21:45:31 +0000 (13:45 -0800)
plugins/Poll/PollPlugin.php

index 49f7011156785f7c99ac6832b0cc354eb02fa6e9..5714653fb04f1d74efe92d9ce703a1ea6b750c20 100644 (file)
@@ -270,7 +270,7 @@ class PollPlugin extends MicroAppPlugin
         }
     }
 
-    function activityObjectFromNoticePoll($notice)
+    function activityObjectFromNoticePollResponse($notice)
     {
         $object = new ActivityObject();
         $object->id      = $notice->uri;
@@ -279,7 +279,7 @@ class PollPlugin extends MicroAppPlugin
         $object->summary = $notice->content;
         $object->link    = $notice->bestUrl();
 
-        $response = Poll_response::getByNotice($notice);
+        $response = Poll_response:getByNotice($notice);
         $poll = $response->getPoll();
 
         /**
@@ -308,7 +308,7 @@ class PollPlugin extends MicroAppPlugin
         return $object;
     }
 
-    function activityObjectFromNoticePollResponse($notice)
+    function activityObjectFromNoticePoll($notice)
     {
         $object = new ActivityObject();
         $object->id      = $notice->uri;