diff options
Diffstat (limited to 'app/models/version.rb')
-rw-r--r-- | app/models/version.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index 878c611ed..214a987ad 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -39,7 +39,6 @@ class Version < ActiveRecord::Base scope :open, lambda { where(:status => 'open') } scope :visible, lambda {|*args| joins(:project). - references(:project). where(Project.allowed_to_condition(args.first || User.current, :view_issues)) } |