summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-12-15 10:06:56 +0100
committerJasper Maes <jaspermaes.jm@gmail.com>2018-12-16 10:48:41 +0100
commit56296f1edadf2bc5f7741cbb3f97cb41f090aac6 (patch)
tree5a21667acd7d431f155d12227181dcfc6d21cba8 /config
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
downloadgitlab-ce-56296f1edadf2bc5f7741cbb3f97cb41f090aac6.tar.gz
Remove rails4 specific code
Diffstat (limited to 'config')
-rw-r--r--config/application.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/application.rb b/config/application.rb
index 720196b945e..349c7258852 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -5,12 +5,6 @@ require 'rails/all'
Bundler.require(:default, Rails.env)
module Gitlab
- # This method is used for smooth upgrading from the current Rails 4.x to Rails 5.0.
- # https://gitlab.com/gitlab-org/gitlab-ce/issues/14286
- def self.rails5?
- true
- end
-
class Application < Rails::Application
require_dependency Rails.root.join('lib/gitlab/redis/wrapper')
require_dependency Rails.root.join('lib/gitlab/redis/cache')