diff --git a/src/api/app/controllers/test_controller.rb b/src/api/app/controllers/test_controller.rb index 091c1995922..7f0b35c5f56 100644 --- a/src/api/app/controllers/test_controller.rb +++ b/src/api/app/controllers/test_controller.rb @@ -30,12 +30,6 @@ def startme render_ok end - def prepare_search - # Sphinx indexing - OBSApi::TestSphinx.ensure - render_ok - end - def test_start Rails.cache.clear render_ok diff --git a/src/api/config/routes.rb b/src/api/config/routes.rb index fb7a6e5b79e..79ff2d7daed 100644 --- a/src/api/config/routes.rb +++ b/src/api/config/routes.rb @@ -54,7 +54,6 @@ post 'test/killme' => :killme post 'test/startme' => :startme post 'test/test_start' => :test_start - post 'test/prepare_search' => :prepare_search end ### /attribute is before source as it needs more specific routes for projects diff --git a/src/api/webui/app/models/webui/api_details.rb b/src/api/webui/app/models/webui/api_details.rb index 45ba95945ee..a829882858d 100644 --- a/src/api/webui/app/models/webui/api_details.rb +++ b/src/api/webui/app/models/webui/api_details.rb @@ -7,11 +7,6 @@ def self.logger Rails.logger end - def self.prepare_search - transport = ActiveXML::api - transport.http_do 'post', "/test/prepare_search" - end - def self.read(route_name, *args) http_do :get, route_name, *args end