Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 23, 2010
1 parent de3e4e6 commit 7dfe5a4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/virtuozzo/params.rb
Expand Up @@ -2,15 +2,6 @@
module Virtuozzo
class Params
attr_accessor :params
#def self.setup(mode)
# if mode=="sync" then return @params={"mode" =>"sync"} end
# Virtuozzo::Params::new do
# add(:node) {Tblservers.where("id=#{@params["serverid"]}").select("name").first.name}
# add(:package) {Tblproducts.where("id=#{@params["packageid"]}").select("name").first.name.sub(/\-.*/,'').sub(/\s/,'').upcase}
# buildparam
# send(mode)
# end
#end
def initialize(mode,&block)
if mode=="sync" then return @params={"mode" => "sync"} end
@addons={}
Expand Down

0 comments on commit 7dfe5a4

Please sign in to comment.