mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-30 04:11:32 -08:00
Naming tweak to #6047
@linonetwo I realised on review that we refer to boot.files as the "tiddler file info"
This commit is contained in:
parent
f9604c40d3
commit
3f478f5689
1 changed files with 3 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) {
|
|||
}
|
||||
}
|
||||
// Remove the tiddler from self.boot.files & return null adaptorInfo
|
||||
self.deleteTiddlerInCache(title);
|
||||
self.removeTiddlerFileInfo(title);
|
||||
return callback(null,null);
|
||||
});
|
||||
} else {
|
||||
|
|
@ -151,8 +151,8 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) {
|
|||
/*
|
||||
Delete a tiddler in cache, without modifying file system.
|
||||
*/
|
||||
FileSystemAdaptor.prototype.deleteTiddlerInCache = function(title) {
|
||||
// Only delete the tiddler if we have writable information for the file
|
||||
FileSystemAdaptor.prototype.removeTiddlerFileInfo = function(title) {
|
||||
// Only delete the tiddler info if we have writable information for the file
|
||||
if(this.boot.files[title]) {
|
||||
delete this.boot.files[title];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue