Delete one numbered backup lower on DB upgrade
This commit is contained in:
parent
b39054ddda
commit
664b17190a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Zotero.Schema = new function(){
|
|||
// directoryEntries.hasMoreElements() throws an error (possibly
|
||||
// because of the temporary SQLite journal file?), so we just look
|
||||
// for all versions
|
||||
for (var i=maxPrevious; i>=29; i--) {
|
||||
for (var i=maxPrevious; i>=28; i--) {
|
||||
var fileName = 'zotero.sqlite.' + i + '.bak';
|
||||
file.append(fileName);
|
||||
if (file.exists()) {
|
||||
|
|
Loading…
Reference in a new issue