Also return the ShareByMail provider when getting all
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1aa874e4e3
commit
73007c401e
|
@ -206,6 +206,10 @@ class ProviderFactory implements IProviderFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAllProviders() {
|
public function getAllProviders() {
|
||||||
|
$shareByMail = $this->getShareByMailProvider();
|
||||||
|
if ($shareByMail !== null) {
|
||||||
|
return [$this->defaultShareProvider(), $this->federatedShareProvider(), $shareByMail];
|
||||||
|
}
|
||||||
return [$this->defaultShareProvider(), $this->federatedShareProvider()];
|
return [$this->defaultShareProvider(), $this->federatedShareProvider()];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue