Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJB Vasseur <jvasseur@gmail.com>2018-10-18 03:37:45 +0300
committerJB Vasseur <jvasseur@gmail.com>2018-10-18 03:37:45 +0300
commitdeeeffe09dfd331bc6068cea23346a35ef46ff45 (patch)
tree30a2285432f5d1350cf7ba66e4f159981b1cf05f /app/finders
parent84b69a95bbe110cb688b7b6b6f20a53ff3819c89 (diff)
Source cleaning !22296
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/applications_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/applications_finder.rb b/app/finders/applications_finder.rb
index 14bd35105d2..88b1d17cf19 100644
--- a/app/finders/applications_finder.rb
+++ b/app/finders/applications_finder.rb
@@ -9,7 +9,7 @@ class ApplicationsFinder
# rubocop: disable CodeReuse/ActiveRecord
def execute
- applications = Doorkeeper::Application.where("owner_id IS NULL")
+ applications = Doorkeeper::Application.where(owner_id: nil)
by_id(applications)
end
# rubocop: enable CodeReuse/ActiveRecord