summaryrefslogtreecommitdiff
path: root/app/Model/Comment.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-30 21:27:49 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-30 21:27:49 -0400
commit01f9ee3410bb4f6878033b353f5a0731397632d0 (patch)
treeabf46f22cca9ac8d6aa410336ff5d5682708c6e0 /app/Model/Comment.php
parentb17f4b28ca948d223f12ceab96e38c018f32c6fd (diff)
Add Gravatar integration
Diffstat (limited to 'app/Model/Comment.php')
-rw-r--r--app/Model/Comment.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/Comment.php b/app/Model/Comment.php
index a36f2b45..844f0c89 100644
--- a/app/Model/Comment.php
+++ b/app/Model/Comment.php
@@ -47,7 +47,8 @@ class Comment extends Base
self::TABLE.'.user_id',
self::TABLE.'.comment',
User::TABLE.'.username',
- User::TABLE.'.name'
+ User::TABLE.'.name',
+ User::TABLE.'.email'
)
->join(User::TABLE, 'id', 'user_id')
->orderBy(self::TABLE.'.date', 'ASC')