From 917e2cb38eccc0205d771db9c758eb74163ad371 Mon Sep 17 00:00:00 2001 From: mdlux Date: Fri, 26 Jun 2015 14:31:01 +0200 Subject: [PATCH] code cleaning --- app/controllers/datasets_controller.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/app/controllers/datasets_controller.rb b/app/controllers/datasets_controller.rb index 4e91db20..5b2e32d2 100644 --- a/app/controllers/datasets_controller.rb +++ b/app/controllers/datasets_controller.rb @@ -131,10 +131,6 @@ def create system PythonPath + " " + Rails.root.to_s() + "/transaction_insert_register.py " + @dataset.service + " " + @dataset.id.to_s() + " " + @dataset.city_id.to_s + " " + @dataset.abstract + " " + @dataset.server_url + " " + @dataset.title + " " +" &" - - #system PythonPath + " " + Rails.root.to_s() + "/addregistered_tocsw.py " + @dataset.service + " " + - # @dataset.identifier + @dataset.city_id.to_s + " " + @dataset.abstract + " " + @dataset.server_url + " " + @dataset.title + " " +" &" - end @@ -360,20 +356,6 @@ def check_name format.json { render :json => available, :status => :ok } end end - - def read_catalogue - @dataset = Dataset.find_by_id(params[:id]) - - response = system PythonPath + " " + Rails.root.to_s() + "/read_catalogue.py " + - @dataset.id + " &" - - respond_to do |format| - format.json { render :json => response - } - - render :nothing => true - end - end