summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 09:49:22 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 09:49:22 +0200
commite8ec999090d06127861bf51bf77c9ab2a50647ce (patch)
tree9f49a7d09350da41399c116848314505342e7da9 /apps/files_encryption
parent0195d5b4393dee68bb8a51068f10d0dc035b9d39 (diff)
downloadnextcloud-server-e8ec999090d06127861bf51bf77c9ab2a50647ce.tar.gz
nextcloud-server-e8ec999090d06127861bf51bf77c9ab2a50647ce.zip
port to use the new public api
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/lib/crypt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php
index 8cf9451c63c..3968a2836a2 100644
--- a/apps/files_encryption/lib/crypt.php
+++ b/apps/files_encryption/lib/crypt.php
@@ -91,7 +91,7 @@ class OC_Crypt {
}
public static function changekeypasscode($oldPassword, $newPassword) {
- if(OC_User::isLoggedIn()){
+ if(OCP\User::isLoggedIn()){
$username=OC_USER::getUser();
$view=new OC_FilesystemView('/'.$username);