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.'));
}
},
/**
*ReturnsthedownloadURLofthegivenfile(s)
*@paramfilenamestringorarrayoffilenamestodownload
@ -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