summaryrefslogtreecommitdiff
path: root/app/services/files
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-04 11:32:57 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:38:08 +0100
commit840335ec8378ec71cc09f71e0e82d29198d909e4 (patch)
tree16a92822772b96c18f5676fa573a98f88290687f /app/services/files
parent3824f6fde8b29b77c7d88f8fcc3dd50420355b65 (diff)
downloadgitlab-ce-840335ec8378ec71cc09f71e0e82d29198d909e4.tar.gz
creates the update_file method in repository.rb and applies changes accordingly
Diffstat (limited to 'app/services/files')
-rw-r--r--app/services/files/update_service.rb1
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)