From c8a3e49c0efa41716410f5c39b5edc0479b1affb Mon Sep 17 00:00:00 2001 From: Matthias Hecker Date: Mon, 15 Jun 2015 00:32:11 +0200 Subject: journal: cleanup --- lib/rbot/journal.rb | 2 +- lib/rbot/journal/postgres.rb | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/rbot/journal.rb b/lib/rbot/journal.rb index 5045f9d5..0b4324fe 100644 --- a/lib/rbot/journal.rb +++ b/lib/rbot/journal.rb @@ -126,7 +126,7 @@ module Journal end def self.create(name, uri) - warning 'load journal storage adapter: ' + name + log 'load journal storage adapter: ' + name load File.join(File.dirname(__FILE__), 'journal', name + '.rb') cls = AbstractStorage.get_impl.first cls.new(uri: uri) diff --git a/lib/rbot/journal/postgres.rb b/lib/rbot/journal/postgres.rb index c62d4c97..52f5fb36 100644 --- a/lib/rbot/journal/postgres.rb +++ b/lib/rbot/journal/postgres.rb @@ -11,9 +11,6 @@ module Irc class Bot module Journal - class Query - end - module Storage class PostgresStorage < AbstractStorage -- cgit v1.2.3