summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-31 11:50:53 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:29 +0200
commitbf809ac85aa6739010463235fe8f7878993c39ee (patch)
tree5fb347cb7e502f5622d7327c46cd69f1ec68efbc /apps/files/js/files.js
parent6ccd3ffa23882b7d5018d707d2563a12c418fc09 (diff)
downloadnextcloud-server-bf809ac85aa6739010463235fe8f7878993c39ee.tar.gz
nextcloud-server-bf809ac85aa6739010463235fe8f7878993c39ee.zip
Removing left overs from old encryption app
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index e63c3cad52e..9d2d563984e 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -126,7 +126,6 @@
return;
}
- var encryptedFiles = $('#encryptedFiles').val();
var initStatus = $('#encryptionInitStatus').val();
if (initStatus === '0') { // enc not initialized, but should be
OC.Notification.show(t('files', 'Encryption App is enabled but your keys are not initialized, please log-out and log-in again'));
@@ -134,11 +133,6 @@
}
if (initStatus === '1') { // encryption tried to init but failed
OC.Notification.show(t('files', 'Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files.'));
- return;
- }
- if (encryptedFiles === '1') {
- OC.Notification.show(t('files', 'Encryption was disabled but your files are still encrypted. Please go to your personal settings to decrypt your files.'));
- return;
}
},