public
Description: Git/Subversion browser and changeset viewer
Homepage: http://warehouseapp.com
Clone URL: git://github.com/entp/warehouse.git
remove license check
entp (author)
Tue Sep 30 10:23:30 -0700 2008
commit  9be7dcf74c9ae407465aeecc880d3211865f9ad1
tree    0c3df3af6cfbd4c278ff89e4bb4168f39999b512
parent  8dbb6cb65d54091e5974ab0b1dcb8cccea26a062
...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
...
21
22
23
 
 
 
 
 
 
 
 
 
24
25
26
0
@@ -21,15 +21,6 @@ class InstallController < ApplicationController
0
       return
0
     end
0
 
0
-    require 'net/http'
0
-    license_uri = URI.parse(Warehouse.forum_url % params[:license])
0
-    proxy       = ENV['http_proxy'] && URI.parse(ENV['http_proxy'])
0
-    http        = proxy ? Net::HTTP::Proxy(proxy.host, proxy.port, proxy.user, proxy.password) : Net::HTTP
0
-    res         = http.post_form(license_uri, 'install[domain]' => params[:domain])
0
-    if res.code != '200'
0
-      raise res.body
0
-    end
0
-
0
     Warehouse.write_config_file :domain => params[:domain]
0
 
0
     User.transaction do

Comments