[Groonga-commit] droonga/droonga-engine at 3c74913 [master] Fix Ruby syntax error

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 24 15:19:49 JST 2014


YUKI Hiroshi	2014-04-24 15:19:49 +0900 (Thu, 24 Apr 2014)

  New Revision: 3c7491307d883e2971464ae6f3bf32b99633b53c
  https://github.com/droonga/droonga-engine/commit/3c7491307d883e2971464ae6f3bf32b99633b53c

  Message:
    Fix Ruby syntax error

  Modified files:
    lib/droonga/plugins/groonga/delete.rb

  Modified: lib/droonga/plugins/groonga/delete.rb (+1 -1)
===================================================================
--- lib/droonga/plugins/groonga/delete.rb    2014-04-24 15:13:27 +0900 (8edb0db)
+++ lib/droonga/plugins/groonga/delete.rb    2014-04-24 15:19:49 +0900 (5646e91)
@@ -73,7 +73,7 @@ module Droonga
             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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index