Remove mysql include and test from main.cpp.

This commit is contained in:
Relintai 2020-11-28 14:33:19 +01:00
parent d36a344980
commit 4a81108677

View File

@ -7,8 +7,6 @@
#include "rdn_application.h" #include "rdn_application.h"
#include "database/mysql/mysql_connection.h"
#define MAIN_CLASS RDNApplication #define MAIN_CLASS RDNApplication
int main(int argc, char **argv) { int main(int argc, char **argv) {
@ -16,9 +14,6 @@ int main(int argc, char **argv) {
file_cache->wwwroot = "./www"; file_cache->wwwroot = "./www";
file_cache->wwwroot_refresh_cache(); file_cache->wwwroot_refresh_cache();
//MysqlConnection *conn;
//conn = new MysqlConnection();
Application *app = new MAIN_CLASS(); Application *app = new MAIN_CLASS();
app->setup_routes(); app->setup_routes();
@ -33,7 +28,6 @@ int main(int argc, char **argv) {
delete server; delete server;
delete app; delete app;
delete file_cache; delete file_cache;
// delete conn;
return 0; return 0;
} }