diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-06 11:25:45 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 15:41:50 +0100 |
commit | d652fa5652f4e781c3944e5f26978de25a0e98f5 (patch) | |
tree | 87a8d9b74b2e3a2da95d92d0eefed4c97c81709f /app/services | |
parent | 7759e86be51542b7a2850421f7ef377bb8dc5d5c (diff) | |
download | gitlab-ce-d652fa5652f4e781c3944e5f26978de25a0e98f5.tar.gz |
refactors to pass values as arguments through options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/files/update_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/files/update_service.rb b/app/services/files/update_service.rb index cbcbdafe21a..905c7a7c81a 100644 --- a/app/services/files/update_service.rb +++ b/app/services/files/update_service.rb @@ -3,7 +3,6 @@ require_relative "base_service" module Files class UpdateService < Files::BaseService def commit - repository.update_file(current_user, @file_path, @file_content, @target_branch, previous_path: @previous_path, message: @commit_message, update: true) |