Navigation Menu

Skip to content

Commit

Permalink
Fix Ruby syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 24, 2014
1 parent bae926b commit 3c74913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/plugins/groonga/delete.rb
Expand Up @@ -73,7 +73,7 @@ def delete_record(table_name, parameters={})
if parameters[:id]
record = table[parameters[:id].to_i]
record.delete if record and record.valid_id?
else if parameters[:key]
elsif parameters[:key]
record = table[parameters[:key]]
record.delete unless record.nil?
else
Expand Down

0 comments on commit 3c74913

Please sign in to comment.