diff options
author | Callum Macrae <callum@macr.ae> | 2015-05-28 18:05:07 +0200 |
---|---|---|
committer | Callum Macrae <callum@macr.ae> | 2015-05-28 18:05:07 +0200 |
commit | be1d1c7d05a0b0dec259da967e2ed277fb8f632f (patch) | |
tree | d57555e08c1014e690661848c644d145dab2b497 /phpBB/phpbb/notification/type/post.php | |
parent | 44fcdd007fd82dbedf3188a035075416818161ab (diff) | |
download | forums-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.php | 2 |
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); } /** |