summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-10 20:25:53 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-10 20:25:53 +0300
commit3281021e8b42ba4d0fff5be268f5c43dd6ab4ff8 (patch)
tree20475f6cee307d65b584a0c41bcabe40decd5f40 /app/models/issue.rb
parent5b8cc95d6e12cf01b81d3ab06b2110847107241f (diff)
downloadgitlab-ce-3281021e8b42ba4d0fff5be268f5c43dd6ab4ff8.tar.gz
Rewrite issues/mr filtering logic
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 550041a0224..ecb881ab597 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -35,7 +35,6 @@ class Issue < ActiveRecord::Base
acts_as_taggable_on :labels
scope :cared, ->(user) { where(assignee_id: user) }
- scope :authored, ->(user) { where(author_id: user) }
scope :open_for, ->(user) { opened.assigned_to(user) }
state_machine :state, initial: :opened do