aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 19:04:20 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 19:04:20 +0200
commit254b8b95065b4e2f27a8d2620f26bef65269957b (patch)
tree23a0ff8b76397a5271d1aa45a6a07b0e8ed5a2f3 /apps/files_encryption
parent70cea18cce0fcdb4d8118ff2d7abccc922417a6a (diff)
downloadnextcloud-server-254b8b95065b4e2f27a8d2620f26bef65269957b.tar.gz
nextcloud-server-254b8b95065b4e2f27a8d2620f26bef65269957b.zip
porting of OC_User to public API complete.
What better thing to do during a long train ride than refactoring ;-)
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-x[-rw-r--r--]apps/files_encryption/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php
index fda2a55234b..98ba4847d27 100644..100755
--- a/apps/files_encryption/appinfo/app.php
+++ b/apps/files_encryption/appinfo/app.php
@@ -11,7 +11,7 @@ OC_Hook::connect('OC_User','post_login','OC_Crypt','loginListener');
stream_wrapper_register('crypt','OC_CryptStream');
if(!isset($_SESSION['enckey']) and OCP\User::isLoggedIn()){//force the user to re-loggin if the encryption key isn't unlocked (happens when a user is logged in before the encryption app is enabled)
- OC_User::logout();
+ OCP\User::logout();
header("Location: ".OC::$WEBROOT.'/');
exit();
}