Got rid of SQLite.
This commit is contained in:
parent
0df57900bb
commit
37e3b66691
10 changed files with 20 additions and 541 deletions
11
src/twc.c
11
src/twc.c
|
|
@ -26,7 +26,6 @@
|
|||
#include "twc-gui.h"
|
||||
#include "twc-config.h"
|
||||
#include "twc-completion.h"
|
||||
#include "twc-sqlite.h"
|
||||
|
||||
#include "twc.h"
|
||||
|
||||
|
|
@ -43,14 +42,6 @@ weechat_plugin_init(struct t_weechat_plugin *plugin, int argc, char *argv[])
|
|||
{
|
||||
weechat_plugin = plugin;
|
||||
|
||||
if (twc_sqlite_init() != 0)
|
||||
{
|
||||
weechat_printf(NULL,
|
||||
"%s%s: failed to initialize persistent storage, some "
|
||||
"data will not be saved",
|
||||
weechat_prefix("error"), weechat_plugin->name);
|
||||
}
|
||||
|
||||
twc_profile_init();
|
||||
twc_commands_init();
|
||||
twc_gui_init();
|
||||
|
|
@ -81,8 +72,6 @@ weechat_plugin_end(struct t_weechat_plugin *plugin)
|
|||
|
||||
twc_profile_free_all();
|
||||
|
||||
twc_sqlite_end();
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue