Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
55e429cb
Commit
55e429cb
authored
Dec 10, 2021
by
Aakriti Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant scope with_files_stored_locally
EE: true
parent
24829413
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
ee/app/models/ee/merge_request_diff.rb
ee/app/models/ee/merge_request_diff.rb
+0
-1
No files found.
ee/app/models/ee/merge_request_diff.rb
View file @
55e429cb
...
...
@@ -33,7 +33,6 @@ module EE
scope
:with_verification_state
,
->
(
state
)
{
joins
(
:merge_request_diff_detail
).
where
(
merge_request_diff_details:
{
verification_state:
verification_state_value
(
state
)
})
}
scope
:checksummed
,
->
{
joins
(
:merge_request_diff_detail
).
where
.
not
(
merge_request_diff_details:
{
verification_checksum:
nil
}
)
}
scope
:not_checksummed
,
->
{
joins
(
:merge_request_diff_detail
).
where
(
merge_request_diff_details:
{
verification_checksum:
nil
}
)
}
scope
:with_files_stored_locally
,
->
{
where
(
klass
::
STORE_COLUMN
=>
::
ObjectStorage
::
Store
::
LOCAL
)
}
def
verification_state_object
merge_request_diff_detail
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment