Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove license check

  • Loading branch information...
commit 303dcaf58679095025c1dab13b504ba92c18439c 1 parent 834395f
rick authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 app/controllers/install_controller.rb
View
9 app/controllers/install_controller.rb
@@ -21,15 +21,6 @@ def install
return
end
- require 'net/http'
- license_uri = URI.parse(Warehouse.forum_url % params[:license])
- proxy = ENV['http_proxy'] && URI.parse(ENV['http_proxy'])
- http = proxy ? Net::HTTP::Proxy(proxy.host, proxy.port, proxy.user, proxy.password) : Net::HTTP
- res = http.post_form(license_uri, 'install[domain]' => params[:domain])
- if res.code != '200'
- raise res.body
- end
-
Warehouse.write_config_file :domain => params[:domain]
User.transaction do
Please sign in to comment.
Something went wrong with that request. Please try again.