summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 19:19:26 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 19:19:26 +0300
commitd45a6b2941f30d71f828e0fc8adaeab19f87b1a0 (patch)
treed774fc68fdafdce0936924418be2e10743f2af74 /app/models/issue.rb
parent6fb9badcaef5152c60bf4091899a84b34f5cc1b8 (diff)
downloadgitlab-ce-d45a6b2941f30d71f828e0fc8adaeab19f87b1a0.tar.gz
Migrate issue/mr labels from act_as_taggable to own labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index b5a72d535d9..92a8ff9b677 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -32,9 +32,6 @@ class Issue < ActiveRecord::Base
scope :of_group, ->(group) { where(project_id: group.project_ids) }
scope :of_user_team, ->(team) { where(project_id: team.project_ids, assignee_id: team.member_ids) }
-
- acts_as_taggable_on :labels
-
scope :cared, ->(user) { where(assignee_id: user) }
scope :open_for, ->(user) { opened.assigned_to(user) }