mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 02:22:40 +08:00
DEV: remove unnecessary requires
This commit is contained in:
@ -25,9 +25,6 @@ class DiscourseIpInfo
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.mmdb_download(name)
|
def self.mmdb_download(name)
|
||||||
require 'rubygems/package'
|
|
||||||
require 'zlib'
|
|
||||||
|
|
||||||
FileUtils.mkdir_p(path)
|
FileUtils.mkdir_p(path)
|
||||||
|
|
||||||
uri = URI("https://geolite.maxmind.com/download/geoip/database/#{name}.tar.gz")
|
uri = URI("https://geolite.maxmind.com/download/geoip/database/#{name}.tar.gz")
|
||||||
|
Reference in New Issue
Block a user