Commit 1e4b6cd8 authored by Douwe Maan's avatar Douwe Maan

Remove now-unnecessary checks

parent eb335bbc
......@@ -29,7 +29,7 @@ module Gitlab
private
def should_run_diff_validations?
newrev && oldrev && !deletion? && validate_lfs_file_locks?
validate_lfs_file_locks?
end
def validate_lfs_file_locks?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment