aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/notification/type/base.php2
-rw-r--r--phpBB/includes/notification/type/pm.php2
-rw-r--r--phpBB/includes/notification/type/post.php2
-rw-r--r--phpBB/includes/notification/type/report_pm.php2
-rw-r--r--phpBB/includes/notification/type/report_pm_closed.php2
-rw-r--r--phpBB/includes/notification/type/report_post.php2
-rw-r--r--phpBB/includes/notification/type/report_post_closed.php2
-rw-r--r--phpBB/includes/notification/type/topic.php2
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'));
}
/**