]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/QnA/classes/QnA_Answer.php
Some statically called functions in plugins now declared statically
[quix0rs-gnu-social.git] / plugins / QnA / classes / QnA_Answer.php
index 0d34f6baf8d8b6ab31ea14b0b8631bf467740f7b..5cbc80594c9f0007d02d131386da1cd26ad3c740 100644 (file)
@@ -120,7 +120,7 @@ class QnA_Answer extends Managed_DataObject
      *
      * @return QnA_Answer found response or null
      */
-    function getByNotice($notice)
+    static function getByNotice($notice)
     {
         $answer = self::staticGet('uri', $notice->uri);
         if (empty($answer)) {