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:
authordixpac <dino.onex@gmail.com>2017-02-09 22:32:09 +0300
committerdixpac <dino.onex@gmail.com>2017-02-10 20:22:18 +0300
commitfa2339641f52688ba2465f4c602c1de36fe5b353 (patch)
tree0102c261cba0da263b7d6fee90a03fe267b2eec0 /app/services/files/delete_service.rb
parent6cbfe1396d6627f156f109f414215db426b846ad (diff)
Rename Files::DeleteService to Files::DestroyService
Reason for renaming is to comply with naming convention of services in codebase.
Diffstat (limited to 'app/services/files/delete_service.rb')
-rw-r--r--app/services/files/delete_service.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/services/files/delete_service.rb b/app/services/files/delete_service.rb
deleted file mode 100644
index 50f0ffcac9f..00000000000
--- a/app/services/files/delete_service.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-module Files
- class DeleteService < Files::BaseService
- def commit
- repository.remove_file(
- current_user,
- @file_path,
- message: @commit_message,
- branch_name: @target_branch,
- author_email: @author_email,
- author_name: @author_name,
- start_project: @start_project,
- start_branch_name: @start_branch)
- end
- end
-end