diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-29 18:35:54 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-29 18:37:07 -0500 |
| commit | b1ba7b27ad611d674ac54f97ea602ea95c8955b0 (patch) | |
| tree | 0dd403bccecd08e7bb07c814cb39dff06ed9d4e0 /phpBB/includes/notification | |
| parent | b60ae30b02c411db5ce3711f25e8f43a019ef9ec (diff) | |
| download | forums-b1ba7b27ad611d674ac54f97ea602ea95c8955b0.tar forums-b1ba7b27ad611d674ac54f97ea602ea95c8955b0.tar.gz forums-b1ba7b27ad611d674ac54f97ea602ea95c8955b0.tar.bz2 forums-b1ba7b27ad611d674ac54f97ea602ea95c8955b0.tar.xz forums-b1ba7b27ad611d674ac54f97ea602ea95c8955b0.zip | |
[ticket/11103] _get_avatar -> get_user_avatar
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notification')
| -rw-r--r-- | phpBB/includes/notification/type/base.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/pm.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/post.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/report_pm.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/report_pm_closed.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/report_post.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/report_post_closed.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/notification/type/topic.php | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/includes/notification/type/base.php b/phpBB/includes/notification/type/base.php index c2c52fe8e9..fdd8a5b9cb 100644 --- a/phpBB/includes/notification/type/base.php +++ b/phpBB/includes/notification/type/base.php @@ -390,7 +390,7 @@ abstract class phpbb_notification_type_base implements phpbb_notification_type_i * @param int $user_id * @return string */ - protected function _get_avatar($user_id) + protected function get_user_avatar($user_id) { $user = $this->notification_manager->get_user($user_id); diff --git a/phpBB/includes/notification/type/pm.php b/phpBB/includes/notification/type/pm.php index a60d022a12..1c38002892 100644 --- a/phpBB/includes/notification/type/pm.php +++ b/phpBB/includes/notification/type/pm.php @@ -92,7 +92,7 @@ class phpbb_notification_type_pm extends phpbb_notification_type_base */ 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')); } /** diff --git a/phpBB/includes/notification/type/post.php b/phpBB/includes/notification/type/post.php index 22fb5cd980..b1a3ee9a26 100644 --- a/phpBB/includes/notification/type/post.php +++ b/phpBB/includes/notification/type/post.php @@ -140,7 +140,7 @@ class phpbb_notification_type_post extends phpbb_notification_type_base */ public function get_avatar() { - return $this->_get_avatar($this->get_data('poster_id')); + return $this->get_user_avatar($this->get_data('poster_id')); } /** diff --git a/phpBB/includes/notification/type/report_pm.php b/phpBB/includes/notification/type/report_pm.php index 7cf97402cc..63d153bd27 100644 --- a/phpBB/includes/notification/type/report_pm.php +++ b/phpBB/includes/notification/type/report_pm.php @@ -187,7 +187,7 @@ class phpbb_notification_type_report_pm extends phpbb_notification_type_pm */ public function get_avatar() { - return $this->_get_avatar($this->get_data('reporter_id')); + return $this->get_user_avatar($this->get_data('reporter_id')); } /** diff --git a/phpBB/includes/notification/type/report_pm_closed.php b/phpBB/includes/notification/type/report_pm_closed.php index 46bca8d831..c86fe77b0e 100644 --- a/phpBB/includes/notification/type/report_pm_closed.php +++ b/phpBB/includes/notification/type/report_pm_closed.php @@ -112,7 +112,7 @@ class phpbb_notification_type_report_pm_closed extends phpbb_notification_type_p */ public function get_avatar() { - return $this->_get_avatar($this->get_data('closer_id')); + return $this->get_user_avatar($this->get_data('closer_id')); } /** diff --git a/phpBB/includes/notification/type/report_post.php b/phpBB/includes/notification/type/report_post.php index 2a493d7f2a..26dd9512bf 100644 --- a/phpBB/includes/notification/type/report_post.php +++ b/phpBB/includes/notification/type/report_post.php @@ -154,7 +154,7 @@ class phpbb_notification_type_report_post extends phpbb_notification_type_post_i */ public function get_avatar() { - return $this->_get_avatar($this->get_data('reporter_id')); + return $this->get_user_avatar($this->get_data('reporter_id')); } /** diff --git a/phpBB/includes/notification/type/report_post_closed.php b/phpBB/includes/notification/type/report_post_closed.php index 34b69dbe47..7454760dc0 100644 --- a/phpBB/includes/notification/type/report_post_closed.php +++ b/phpBB/includes/notification/type/report_post_closed.php @@ -112,7 +112,7 @@ class phpbb_notification_type_report_post_closed extends phpbb_notification_type */ public function get_avatar() { - return $this->_get_avatar($this->get_data('closer_id')); + return $this->get_user_avatar($this->get_data('closer_id')); } /** diff --git a/phpBB/includes/notification/type/topic.php b/phpBB/includes/notification/type/topic.php index fbee650ad8..db268fa53e 100644 --- a/phpBB/includes/notification/type/topic.php +++ b/phpBB/includes/notification/type/topic.php @@ -116,7 +116,7 @@ class phpbb_notification_type_topic extends phpbb_notification_type_base */ public function get_avatar() { - return $this->_get_avatar($this->get_data('poster_id')); + return $this->get_user_avatar($this->get_data('poster_id')); } /** |
