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
path: root/db
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2018-09-03 23:20:57 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2018-09-12 18:32:32 +0300
commitd3c5b07962127be3b29e4602eef51abcb4c2c7b8 (patch)
tree529788aa536ca73777a939483717eba73a9be2ea /db
parenta2be6536e9cd92f1fb3d842020136ca165fe9748 (diff)
Remove Rugged and shell code from Gitlab::Git
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/17_cycle_analytics.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/db/fixtures/development/17_cycle_analytics.rb b/db/fixtures/development/17_cycle_analytics.rb
index 7b9a4bad449..285436f4324 100644
--- a/db/fixtures/development/17_cycle_analytics.rb
+++ b/db/fixtures/development/17_cycle_analytics.rb
@@ -6,20 +6,6 @@ class Gitlab::Seeder::CycleAnalytics
@project = project
@user = User.admins.first
@issue_count = perf ? 1000 : 5
- stub_git_pre_receive!
- end
-
- # The GitLab API needn't be running for the fixtures to be
- # created. Since we're performing a number of git actions
- # here (like creating a branch or committing a file), we need
- # to disable the `pre_receive` hook in order to remove this
- # dependency on the GitLab API.
- def stub_git_pre_receive!
- Gitlab::Git::HooksService.class_eval do
- def run_hook(name)
- [true, '']
- end
- end
end
def seed_metrics!