forked from GNUsocial/gnu-social
Some statically called functions in plugins now declared statically
This commit is contained in:
@@ -114,7 +114,7 @@ class QnA_Question extends Managed_DataObject
|
||||
*
|
||||
* @return Question found question or null
|
||||
*/
|
||||
function getByNotice($notice)
|
||||
static function getByNotice($notice)
|
||||
{
|
||||
return self::staticGet('uri', $notice->uri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user