From 262c84adfac3067af78a9c2907d83082bbab6355 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 16 May 2023 18:22:14 -0700 Subject: [PATCH] Remove some dead code in files app Signed-off-by: Varun Patil --- apps/files/js/app.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/files/js/app.js b/apps/files/js/app.js index d92d8f7728755..dd92efeef54b0 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -139,9 +139,6 @@ this._setupEvents(); - this._debouncedPersistShowHiddenFilesState = _.debounce(this._persistShowHiddenFilesState, 1200); - this._debouncedPersistCropImagePreviewsState = _.debounce(this._persistCropImagePreviewsState, 1200); - if (sessionStorage.getItem('WhatsNewServerCheck') < (Date.now() - 3600*1000)) { OCP.WhatsNew.query(); // for Nextcloud server sessionStorage.setItem('WhatsNewServerCheck', Date.now());