aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-09-06 12:27:40 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-09-06 12:27:40 +0200
commitfb462e83ccde5c46565c23545c5eb894acbd6fd3 (patch)
tree4b334e82c8e61247419f4120b18922fc923f5cf7 /apps/files_encryption/hooks
parent69b1625f0e368e65771fef473f4b4d4a13456354 (diff)
downloadnextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.tar.gz
nextcloud-server-fb462e83ccde5c46565c23545c5eb894acbd6fd3.zip
no longer enforce log out, but provide useful errors/warnings instead
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 4c6122b7c2b..c945deeea0c 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -547,7 +547,7 @@ class Hooks {
$setMigrationStatus->execute();
$session = new \OCA\Encryption\Session(new \OC\Files\View('/'));
- $session->setInitialized(false);
+ $session->setInitialized(\OCA\Encryption\Session::NOT_INITIALIZED);
}
}