mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 20:44:01 +01:00
[ticket/11103] _get_avatar -> get_user_avatar
PHPBB3-11103
This commit is contained in:
parent
b60ae30b02
commit
b1ba7b27ad
@ -390,7 +390,7 @@ abstract class phpbb_notification_type_base implements phpbb_notification_type_i
|
|||||||
* @param int $user_id
|
* @param int $user_id
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function _get_avatar($user_id)
|
protected function get_user_avatar($user_id)
|
||||||
{
|
{
|
||||||
$user = $this->notification_manager->get_user($user_id);
|
$user = $this->notification_manager->get_user($user_id);
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ class phpbb_notification_type_pm extends phpbb_notification_type_base
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('from_user_id'));
|
return $this->get_user_avatar($this->get_data('from_user_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -140,7 +140,7 @@ class phpbb_notification_type_post extends phpbb_notification_type_base
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('poster_id'));
|
return $this->get_user_avatar($this->get_data('poster_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -187,7 +187,7 @@ class phpbb_notification_type_report_pm extends phpbb_notification_type_pm
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('reporter_id'));
|
return $this->get_user_avatar($this->get_data('reporter_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -112,7 +112,7 @@ class phpbb_notification_type_report_pm_closed extends phpbb_notification_type_p
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('closer_id'));
|
return $this->get_user_avatar($this->get_data('closer_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -154,7 +154,7 @@ class phpbb_notification_type_report_post extends phpbb_notification_type_post_i
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('reporter_id'));
|
return $this->get_user_avatar($this->get_data('reporter_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -112,7 +112,7 @@ class phpbb_notification_type_report_post_closed extends phpbb_notification_type
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('closer_id'));
|
return $this->get_user_avatar($this->get_data('closer_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -116,7 +116,7 @@ class phpbb_notification_type_topic extends phpbb_notification_type_base
|
|||||||
*/
|
*/
|
||||||
public function get_avatar()
|
public function get_avatar()
|
||||||
{
|
{
|
||||||
return $this->_get_avatar($this->get_data('poster_id'));
|
return $this->get_user_avatar($this->get_data('poster_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user