comment out

This commit is contained in:
carlad 2015-11-24 12:31:50 +01:00
parent 4095090992
commit 02f5035100

View File

@ -21,7 +21,7 @@ module Travis::API::V3
list = list.where(private: bool(private)) unless private.nil?
list = list.includes(:owner) if includes? 'repository.owner'.freeze
# where the repo is starred
list = list.where(starred: bool(Repository.joins(:starred_repository).where(starred_repository: { repository_id: 1, user_id: current_user.id }))) unless starred.nil?
# list = list.where(starred: bool(Repository.joins(:starred_repository).where(starred_repository: { repository_id: 1, user_id: user.id }))) unless starred.nil?
if includes? 'repository.last_build'.freeze or includes? 'build'.freeze
list = list.includes(:last_build)