summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index c3ed9c7c02..a6fb209a41 100644
--- a/models/action.go
+++ b/models/action.go
@@ -122,6 +122,12 @@ func (a *Action) loadRepo() {
}
}
+// GetActFullName gets the action's user full name.
+func (a *Action) GetActFullName() string {
+ a.loadActUser()
+ return a.ActUser.FullName
+}
+
// GetActUserName gets the action's user name.
func (a *Action) GetActUserName() string {
a.loadActUser()