[Pkg-owncloud-commits] [owncloud] 26/34: don't check if we have a valid user
David Prévot
taffit at moszumanska.debian.org
Wed Mar 11 15:49:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.0
in repository owncloud.
commit b2e13229fa6d31116168caee053694bf515a4ba6
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Fri Feb 6 17:01:23 2015 +0100
don't check if we have a valid user
---
apps/files_encryption/lib/migration.php | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/apps/files_encryption/lib/migration.php b/apps/files_encryption/lib/migration.php
index cf5552f..8af633a 100644
--- a/apps/files_encryption/lib/migration.php
+++ b/apps/files_encryption/lib/migration.php
@@ -256,11 +256,7 @@ class Migration {
if (substr($file, 0, strlen($filename) +1) === $filename . '.') {
$uid = $this->getUidFromShareKey($file, $filename, $trash);
- if ($uid === $this->public_share_key_id ||
- $uid === $this->recovery_key_id ||
- \OCP\User::userExists($uid)) {
- $this->view->copy($oldShareKeyPath . '/' . $file, $target . '/' . $uid . '.shareKey');
- }
+ $this->view->copy($oldShareKeyPath . '/' . $file, $target . '/' . $uid . '.shareKey');
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list