[Groonga-commit] ranguba/epub-searcher at a545591 [master] Remove App#delete_from_groonga; it's not used

Back to archive index

KITAITI Makoto null+****@clear*****
Sun May 22 22:40:49 JST 2016


KITAITI Makoto	2016-05-22 22:40:49 +0900 (Sun, 22 May 2016)

  New Revision: a545591d9c9fbb06b83699620aa0faa45d86f618
  https://github.com/ranguba/epub-searcher/commit/a545591d9c9fbb06b83699620aa0faa45d86f618

  Message:
    Remove App#delete_from_groonga; it's not used

  Modified files:
    app/app.rb

  Modified: app/app.rb (+0 -12)
===================================================================
--- app/app.rb    2016-05-22 22:39:29 +0900 (d5f7e1c)
+++ app/app.rb    2016-05-22 22:40:49 +0900 (12ed9bf)
@@ -108,18 +108,6 @@ module EPUBSearcher
       end
     end
 
-    def delete_from_groonga(id)
-      begin
-        params = {
-          :table => :Books,
-          :id => id
-        }
-        db.delete(params)
-      ensure
-        db.close
-      end
-    end
-
     private
     def db
       @db ||= RemoteDatabase.new(default_db_options)
-------------- next part --------------
HTML����������������������������...
下載 



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