Fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d3b62893af
commit
e16321368f
|
@ -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 New Issue