Only get encryption status when logged in
This removes useless warnings in the logs.
This commit is contained in:
parent
f8f354b351
commit
cc3bc6345b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (!OC.Encryption) {
|
|||
*/
|
||||
OC.Encryption = {
|
||||
displayEncryptionWarning: function () {
|
||||
if (!OC.Notification.isHidden()) {
|
||||
if (!OC.currentUser || !OC.Notification.isHidden()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue