[ENTITY][GSActor] Fix getAvatarUrl method
This commit is contained in:
parent
cbd383f92d
commit
88e5cec8fc
@ -45,7 +45,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class Network extends Controller
|
||||
{
|
||||
// Can't have constanst inside herestring
|
||||
// Can't have constants inside herestring
|
||||
private $public_scope = VisibilityScope::PUBLIC;
|
||||
private $instance_scope = VisibilityScope::PUBLIC | VisibilityScope::SITE;
|
||||
private $message_scope = VisibilityScope::MESSAGE;
|
||||
|
@ -208,7 +208,7 @@ class GSActor extends Entity
|
||||
public function getAvatarUrl()
|
||||
{
|
||||
$url = null;
|
||||
Event::handle('get_avatar_url', [$this->getNickname(), &$url]);
|
||||
Event::handle('GetAvatarUrl', [$this->getId(), &$url]);
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user