forked from GNUsocial/gnu-social
Notice::getByUri is of course static
This commit is contained in:
parent
15c95dc415
commit
08dba7e21d
@ -216,9 +216,9 @@ class Notice extends Managed_DataObject
|
|||||||
return $this->url ?: $this->uri;
|
return $this->url ?: $this->uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getByUri($uri)
|
public static function getByUri($uri)
|
||||||
{
|
{
|
||||||
return Notice::getKV('uri', $uri);
|
return static::getKV('uri', $uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user