summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-27 15:35:32 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-27 15:35:32 +0100
commit060e0ad0cd668529f13a97b866a371e505e8fa3e (patch)
tree3d200dde1568b23cde9278ccecc81791ba112971 /apps/files_encryption/ajax
parent7240d349da32af187b1920d8cf1cf67d81d268a1 (diff)
downloadnextcloud-server-060e0ad0cd668529f13a97b866a371e505e8fa3e.tar.gz
nextcloud-server-060e0ad0cd668529f13a97b866a371e505e8fa3e.zip
with the latest changes in master $this-userID is always the correct ID, so we no longer need the extra parameter
Diffstat (limited to 'apps/files_encryption/ajax')
-rw-r--r--apps/files_encryption/ajax/getMigrationStatus.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/ajax/getMigrationStatus.php b/apps/files_encryption/ajax/getMigrationStatus.php
index a28ebfac7f7..4da035a97d4 100644
--- a/apps/files_encryption/ajax/getMigrationStatus.php
+++ b/apps/files_encryption/ajax/getMigrationStatus.php
@@ -18,7 +18,7 @@ $migrationCompleted = true;
if ($user !== '' && $password !== '') {
if (\OCP\User::checkPassword($user, $password)) {
$util = new Util(new \OC_FilesystemView('/'), $user);
- if ($util->getMigrationStatus($user) !== Util::MIGRATION_COMPLETED) {
+ if ($util->getMigrationStatus() !== Util::MIGRATION_COMPLETED) {
$migrationCompleted = false;
}
}