Refactor Toggle Dark mode

This commit is contained in:
Jokob-sk committed 2023-01-16 23:56:19 +11:00
1 parent 8ef6f420e4
commit fef33d652d
15 files changed
+70 -111

No files matched your search

-5
View File
@@ -70,11 +70,6 @@ function OpenDB (...$DBPath) {
$db->exec('PRAGMA journal_mode = wal;');
}
function CommitDB () {
global $db;
// $db->commit();
}
// # Open DB once and keep open
// # Opening / closing DB frequently actually casues more issues