fix encryption to owncloud user for public link shares

remotes/origin/stable6
Björn Schießle 12 years ago
parent b57478fa27
commit b5cb5dab51
  1. 2
      apps/files_encryption/lib/keymanager.php
  2. 2
      apps/files_encryption/lib/util.php
  3. 2
      lib/public/share.php

@ -54,7 +54,7 @@ class Keymanager {
\OC_FileProxy::$enabled = false;
return $view->file_get_contents( '/public-keys/' . '/' . $userId . '.public.key' );
return $view->file_get_contents( '/public-keys/' . $userId . '.public.key' );
\OC_FileProxy::$enabled = true;

@ -668,7 +668,7 @@ class Util {
// public system user 'ownCloud' (for public shares)
if (
$util->ready()
or $user == 'ownCloud'
or $user == 'owncloud'
) {
// Construct array of ready UIDs for Keymanager{}

@ -200,7 +200,7 @@ class Share {
}
if ($result->fetchRow()) {
$shares[] = "ownCloud";
$shares[] = "owncloud";
}
}
// Include owner in list of users, if requested

Loading…
Cancel
Save