Remove two sneaky log_debug
This commit is contained in:
@@ -20,7 +20,7 @@ void Database::open(const std::string& filename, const std::string& db_type)
|
||||
"database="s + filename);
|
||||
if (new_db->needsUpgrade())
|
||||
new_db->upgrade();
|
||||
Database::db.reset(new_db.release());
|
||||
Database::db = std::move(new_db);
|
||||
} catch (const litesql::DatabaseError& e) {
|
||||
log_error("Failed to open database ", filename, ". ", e.what());
|
||||
throw;
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
const std::string& server,
|
||||
const std::string& channel);
|
||||
static std::vector<db::MucLogLine> get_muc_logs(const std::string& owner, const std::string& chan_name, const std::string& server,
|
||||
int limit=-1, const std::string& before="", const std::string& after="");
|
||||
int limit=-1, const std::string& start="", const std::string& end="");
|
||||
static void store_muc_message(const std::string& owner, const Iid& iid,
|
||||
time_point date, const std::string& body, const std::string& nick);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user