diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 09:49:22 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 09:49:22 +0200 |
commit | e8ec999090d06127861bf51bf77c9ab2a50647ce (patch) | |
tree | 9f49a7d09350da41399c116848314505342e7da9 /apps/files_encryption | |
parent | 0195d5b4393dee68bb8a51068f10d0dc035b9d39 (diff) | |
download | nextcloud-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.php | 2 |
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); |