aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/post.php
diff options
context:
space:
mode:
authorCallum Macrae <callum@macr.ae>2015-05-28 18:05:07 +0200
committerCallum Macrae <callum@macr.ae>2015-05-28 18:05:07 +0200
commitbe1d1c7d05a0b0dec259da967e2ed277fb8f632f (patch)
treed57555e08c1014e690661848c644d145dab2b497 /phpBB/phpbb/notification/type/post.php
parent44fcdd007fd82dbedf3188a035075416818161ab (diff)
downloadforums-be1d1c7d05a0b0dec259da967e2ed277fb8f632f.tar
forums-be1d1c7d05a0b0dec259da967e2ed277fb8f632f.tar.gz
forums-be1d1c7d05a0b0dec259da967e2ed277fb8f632f.tar.bz2
forums-be1d1c7d05a0b0dec259da967e2ed277fb8f632f.tar.xz
forums-be1d1c7d05a0b0dec259da967e2ed277fb8f632f.zip
[ticket/13882] Lazy load the notification avatars.
This moves them further down the waterfall, making the page load quicker. PHPBB3-13882
Diffstat (limited to 'phpBB/phpbb/notification/type/post.php')
-rw-r--r--phpBB/phpbb/notification/type/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index 421eff6372..e25fdcd808 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -165,7 +165,7 @@ class post extends \phpbb\notification\type\base
*/
public function get_avatar()
{
- return $this->user_loader->get_avatar($this->get_data('poster_id'));
+ return $this->user_loader->get_avatar($this->get_data('poster_id'), false, true);
}
/**