[Pkg-owncloud-commits] [owncloud] 24/215: Only get encryption status when logged in
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit cc3bc6345b0ce84a04b1c5217924be36cdef8047
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Thu Apr 23 13:06:00 2015 +0200
Only get encryption status when logged in
This removes useless warnings in the logs.
---
apps/encryption/js/encryption.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js
index 7ed49f7..ea6a559 100644
--- a/apps/encryption/js/encryption.js
+++ b/apps/encryption/js/encryption.js
@@ -15,7 +15,7 @@ if (!OC.Encryption) {
*/
OC.Encryption = {
displayEncryptionWarning: function () {
- if (!OC.Notification.isHidden()) {
+ if (!OC.currentUser || !OC.Notification.isHidden()) {
return;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list