mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d3b62893af
commit
e16321368f
2 changed files with 2 additions and 1 deletions
2
apps/files_sharing/lib/External/Manager.php
vendored
2
apps/files_sharing/lib/External/Manager.php
vendored
|
|
@ -155,7 +155,7 @@ class Manager {
|
|||
$accepted = $accepted ? IShare::STATUS_ACCEPTED : IShare::STATUS_PENDING;
|
||||
$name = Filesystem::normalizePath('/' . $name);
|
||||
|
||||
if (!$accepted) {
|
||||
if ($accepted !== IShare::STATUS_ACCEPTED) {
|
||||
// To avoid conflicts with the mount point generation later,
|
||||
// we only use a temporary mount point name here. The real
|
||||
// mount point name will be generated when accepting the share,
|
||||
|
|
|
|||
|
|
@ -355,6 +355,7 @@ class DefaultShareProvider implements IShareProvider {
|
|||
->execute();
|
||||
|
||||
$data = $stmt->fetch();
|
||||
$stmt->closeCursor();
|
||||
|
||||
/*
|
||||
* Check if there already is a user specific group share.
|
||||
|
|
|
|||
Loading…
Reference in a new issue