don't check if we have a valid user

remotes/origin/log-external-deletes
Bjoern Schiessle 12 years ago
parent 80e38b84dc
commit b2e13229fa
  1. 4
      apps/files_encryption/lib/migration.php

@ -256,13 +256,9 @@ class Migration {
if (substr($file, 0, strlen($filename) +1) === $filename . '.') { if (substr($file, 0, strlen($filename) +1) === $filename . '.') {
$uid = $this->getUidFromShareKey($file, $filename, $trash); $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');
} }
} }
}
} }
} }

Loading…
Cancel
Save