Skip to content

Commit

Permalink
get rid of old function
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Jan 10, 2012
1 parent 78766b1 commit 5b0132c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/neography/rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,6 @@ def get_paths(from, to, relationships, depth=1, algorithm="allPaths")
paths = post("/node/#{get_id(from)}/paths", options) || Array.new
end

def execute_query_old(query)
options = { :body => {:query => query}.to_json, :headers => {'Content-Type' => 'application/json'} }
result = post("/ext/CypherPlugin/graphdb/execute_query", options)
end

def execute_query(query, params = {})
options = { :body => {:query => query, :params => params}.to_json, :headers => {'Content-Type' => 'application/json'} }
result = post("/ext/CypherPlugin/graphdb/execute_query", options)
Expand Down

0 comments on commit 5b0132c

Please sign in to comment.