Skip to content
Snippets Groups Projects
Commit 3f4a6412 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

We should totally cache it

parent 8156475e
No related branches found
No related tags found
1 merge request!3363Implement #3243 New Issue by email
Loading
Loading
@@ -158,9 +158,7 @@ module Gitlab
end
 
def sent_notification
return nil unless reply_key
SentNotification.for(reply_key)
@sent_notification ||= SentNotification.for(reply_key) if reply_key
end
 
def add_attachments(reply, project)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment