summaryrefslogtreecommitdiff
path: root/lib/mysql_zero_date.rb
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 /lib/mysql_zero_date.rb
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
downloadgitlab-ce-56296f1edadf2bc5f7741cbb3f97cb41f090aac6.tar.gz
Remove rails4 specific code
Diffstat (limited to 'lib/mysql_zero_date.rb')
-rw-r--r--lib/mysql_zero_date.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql_zero_date.rb b/lib/mysql_zero_date.rb
index 216560148fa..f36610abf8f 100644
--- a/lib/mysql_zero_date.rb
+++ b/lib/mysql_zero_date.rb
@@ -17,4 +17,4 @@ module MysqlZeroDate
end
end
-ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.prepend(MysqlZeroDate) if Gitlab.rails5?
+ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.prepend(MysqlZeroDate)