@ -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