mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-03 12:49:09 +00:00
Avoid clients of sqlTiddlerStore having to call updateAdminWIki() explicitly
This commit is contained in:
parent
c1312100aa
commit
239ace0c07
@ -41,7 +41,6 @@ exports.startup = function() {
|
||||
$tw.sqlTiddlerStore = new SqlTiddlerStore({
|
||||
databasePath: databasePath
|
||||
});
|
||||
$tw.sqlTiddlerStore.updateAdminWiki();
|
||||
// Create bags and recipes
|
||||
$tw.sqlTiddlerStore.createBag("bag-alpha");
|
||||
$tw.sqlTiddlerStore.createBag("bag-beta");
|
||||
|
@ -31,6 +31,7 @@ function SqlTiddlerStore(options) {
|
||||
databasePath: this.databasePath
|
||||
});
|
||||
this.sqlTiddlerDatabase.createTables();
|
||||
this.updateAdminWiki();
|
||||
}
|
||||
|
||||
SqlTiddlerStore.prototype.close = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user