mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Client statement reinitialization has been moved into gravityDB_open(). No need to call it twice in FTL_reload_all_domainlists().
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -372,8 +372,6 @@ void FTL_reload_all_domainlists(void)
|
||||
// (Re-)open gravity database connection
|
||||
gravityDB_close();
|
||||
gravityDB_open();
|
||||
// gravityDB_close() has finalized all prepared statements, reinitialize them
|
||||
gravityDB_reload_client_statements();
|
||||
|
||||
// Reset number of blocked domains
|
||||
counters->gravity = gravityDB_count(GRAVITY_TABLE);
|
||||
|
||||
Reference in New Issue
Block a user