|
|
@ -654,7 +654,6 @@ define([
|
|
|
|
if (workgroup || (!Cryptpad.isLoggedIn() && !config.testMode)) { return; }
|
|
|
|
if (workgroup || (!Cryptpad.isLoggedIn() && !config.testMode)) { return; }
|
|
|
|
|
|
|
|
|
|
|
|
var filesList = getFiles([ROOT, 'hrefArray', TRASH]);
|
|
|
|
var filesList = getFiles([ROOT, 'hrefArray', TRASH]);
|
|
|
|
var fData = files[FILES_DATA];
|
|
|
|
|
|
|
|
getFiles([FILES_DATA]).forEach(function (id) {
|
|
|
|
getFiles([FILES_DATA]).forEach(function (id) {
|
|
|
|
if (filesList.indexOf(id) === -1) {
|
|
|
|
if (filesList.indexOf(id) === -1) {
|
|
|
|
spliceFileData(id);
|
|
|
|
spliceFileData(id);
|
|
|
|