Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-18 16:11:03 +01:00
parent d3b62893af
commit e16321368f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -355,6 +355,7 @@ class DefaultShareProvider implements IShareProvider {
->execute();
$data = $stmt->fetch();
$stmt->closeCursor();
/*
* Check if there already is a user specific group share.