From f9db7e588eda3410a171b2771b416e6a6573312a Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 20 Dec 2016 14:37:29 +0100 Subject: [PATCH] Fix unused backup in localStorage --- www/file/fileObject.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/file/fileObject.js b/www/file/fileObject.js index a254ef635..2a339b9cc 100644 --- a/www/file/fileObject.js +++ b/www/file/fileObject.js @@ -688,9 +688,6 @@ define([ fixFilesData(files[FILES_DATA]); if (JSON.stringify(files) !== before) { - var backup = JSON.parse(localStorage.oldFileSystem); - backup.push(files); - localStorage.oldFileSystem = JSON.stringify(backup); debug("Your file system was corrupted. It has been cleaned so that the pads you visit can be stored safely"); return; }