set $share to null if getShareByToken() failed
This commit is contained in:
parent
e9a9af3493
commit
f17ad18865
|
@ -979,7 +979,7 @@ class Manager implements IManager {
|
||||||
try {
|
try {
|
||||||
$share = $provider->getShareByToken($token);
|
$share = $provider->getShareByToken($token);
|
||||||
} catch (ShareNotFound $e) {
|
} catch (ShareNotFound $e) {
|
||||||
//Ignore
|
$share = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If it is not a link share try to fetch a federated share by token
|
// If it is not a link share try to fetch a federated share by token
|
||||||
|
|
Loading…
Reference in New Issue