]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/Poll_response.php
Some statically called functions in plugins now declared statically
[quix0rs-gnu-social.git] / plugins / Poll / Poll_response.php
index a63d790b539952f920d9f911e16ad3dd153d0658..b466e9f592ac84ac3a3b82986e12facafed480ca 100644 (file)
@@ -102,7 +102,7 @@ class Poll_response extends Managed_DataObject
      *
      * @return Poll_response found response or null
      */
-    function getByNotice($notice)
+    static function getByNotice($notice)
     {
         return self::staticGet('uri', $notice->uri);
     }