1
0
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:
Nathan Guse 2012-10-29 18:35:54 -05:00
parent b60ae30b02
commit b1ba7b27ad
8 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**

View File

@ -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'));
} }
/** /**