summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-01 17:46:09 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:30 +0200
commitee53ba5ed6e41cc997ed07b1f47305804d607afd (patch)
tree164169e05ab9909a0bbcb2436a48874b9c57b315 /apps/files/js/files.js
parent9d8c07850d8ade68fd75f8d6934687a6fbe8bc68 (diff)
downloadnextcloud-server-ee53ba5ed6e41cc997ed07b1f47305804d607afd.tar.gz
nextcloud-server-ee53ba5ed6e41cc997ed07b1f47305804d607afd.zip
remove encryption specific code from files app
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 9d2d563984e..68e9315954f 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -120,22 +120,6 @@
}
},
- displayEncryptionWarning: function() {
-
- if (!OC.Notification.isHidden()) {
- return;
- }
-
- 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'));
- return;
- }
- 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.'));
- }
- },
-
/**
* Returns the download URL of the given file(s)
* @param filename string or array of file names to download
@@ -214,7 +198,6 @@
*/
initialize: function() {
Files.getMimeIcon.cache = {};
- Files.displayEncryptionWarning();
Files.bindKeyboardShortcuts(document, $);
// TODO: move file list related code (upload) to OCA.Files.FileList