diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-03-06 16:07:09 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-03-06 16:07:09 +0000 |
commit | eb7b03af2c8fe759c6e1e94222a19413ff5f21bf (patch) | |
tree | 3bc9462b9e5dd7521d8515f7bcef7dd78d851657 /app/models | |
parent | 5fce538b076f0fb48aa3b3c77ea0914a00c964fb (diff) | |
parent | 5ce3845f17c2c6e168cf2bd1b3c5093f10db1953 (diff) | |
download | gitlab-ce-eb7b03af2c8fe759c6e1e94222a19413ff5f21bf.tar.gz |
Merge branch 'fix-mentioned-issues-for-external-trackers' into 'master'
Fix issues mentioned but not closed for JIRA
Closes #26028
See merge request !9687
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/external_issue.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/external_issue.rb b/app/models/external_issue.rb index b973bbcd8da..e63f89a9f85 100644 --- a/app/models/external_issue.rb +++ b/app/models/external_issue.rb @@ -24,6 +24,11 @@ class ExternalIssue def ==(other) other.is_a?(self.class) && (to_s == other.to_s) end + alias_method :eql?, :== + + def hash + [self.class, to_s].hash + end def project @project |