You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Got db and logger to working on Electron app
This commit is contained in:
@@ -59,18 +59,10 @@ class Setting extends BaseModel {
|
||||
return this.modelSelectAll('SELECT * FROM settings').then((rows) => {
|
||||
this.cache_ = [];
|
||||
|
||||
// Old keys - can be removed later
|
||||
//const ignore = ['clientId', 'sync.onedrive.auth', 'syncInterval', 'todoOnTop', 'todosOnTop', 'todoFilter'];
|
||||
|
||||
for (let i = 0; i < rows.length; i++) {
|
||||
let c = rows[i];
|
||||
|
||||
if (!this.keyExists(c.key)) continue;
|
||||
|
||||
//if (ignore.indexOf(c.key) >= 0) continue;
|
||||
|
||||
// console.info(c.key + ' = ' + c.value);
|
||||
|
||||
c.value = this.formatValue(c.key, c.value);
|
||||
|
||||
this.cache_.push(c);
|
||||
|
||||
Reference in New Issue
Block a user