diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-11 09:03:23 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-05-11 09:03:23 +0100 |
commit | acd8930c46c06312f87c5ea0bb549b5435feece8 (patch) | |
tree | e5bba8641488f38729aaeee5d802f2a3adfbecd0 /app/models/user.rb | |
parent | 97424ea544d0954e582a356586270e983d3bbb7a (diff) | |
download | gitlab-ce-acd8930c46c06312f87c5ea0bb549b5435feece8.tar.gz |
Tidy up user project specs
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index a0115957f00..489bff3fa4a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -383,7 +383,7 @@ class User < ActiveRecord::Base def viewable_starred_projects starred_projects.where("projects.visibility_level IN (?) OR projects.id IN (#{projects_union.to_sql})", - [Gitlab::VisibilityLevel::PUBLIC, Gitlab::VisibilityLevel::INTERNAL]) + [Project::PUBLIC, Project::INTERNAL]) end def owned_projects |