Remove unused loadFiles

pull/1/head
Alex Beregszaszi 8 years ago
parent e064f0d797
commit 9d37e90f33
  1. 9
      src/app/storage.js

@ -45,15 +45,6 @@ function Storage () {
return true return true
} }
this.loadFile = function (filename, content) {
if (this.exists(filename) && this.get(filename) !== content) {
var count = ''
while (this.exists(filename + count)) count = count - 1
this.rename(filename, filename + count)
}
this.set(filename, content)
}
// on startup, upgrade the old storage layout // on startup, upgrade the old storage layout
safeKeys().forEach(function (name) { safeKeys().forEach(function (name) {
if (name.indexOf('sol-cache-file-', 0) === 0) { if (name.indexOf('sol-cache-file-', 0) === 0) {

Loading…
Cancel
Save