summaryrefslogtreecommitdiff
path: root/app/observers/issue_observer.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 18:15:18 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 18:15:18 +0300
commit993af5d0d2d596040195c4109c531c33deeac026 (patch)
tree23762152264492821c01c9124802d9d6c4384d11 /app/observers/issue_observer.rb
parent5511a731bcc05034abacd4ec01ff7d5a2a3b89d3 (diff)
downloadgitlab-ce-993af5d0d2d596040195c4109c531c33deeac026.tar.gz
cattr_accessor is not threadsafe!
Diffstat (limited to 'app/observers/issue_observer.rb')
-rw-r--r--app/observers/issue_observer.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/observers/issue_observer.rb b/app/observers/issue_observer.rb
index 03ce4b95ac8..888fa7f6b73 100644
--- a/app/observers/issue_observer.rb
+++ b/app/observers/issue_observer.rb
@@ -1,6 +1,4 @@
class IssueObserver < BaseObserver
- cattr_accessor :current_user
-
def after_create(issue)
notification.new_issue(issue, current_user)
end