Fix string comparison and return docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f0389fdcb6
commit
3516c52271
|
@ -131,7 +131,7 @@ class ProviderFactory implements IProviderFactory {
|
|||
/**
|
||||
* Create the federated share provider
|
||||
*
|
||||
* @return FederatedShareProvider
|
||||
* @return ShareByMailProvider
|
||||
*/
|
||||
protected function getShareByMailProvider() {
|
||||
if ($this->shareByMailProvider === null) {
|
||||
|
@ -171,7 +171,7 @@ class ProviderFactory implements IProviderFactory {
|
|||
$provider = $this->defaultShareProvider();
|
||||
} else if ($id === 'ocFederatedSharing') {
|
||||
$provider = $this->federatedShareProvider();
|
||||
} else if ($id = 'ocMailShare') {
|
||||
} else if ($id === 'ocMailShare') {
|
||||
$provider = $this->getShareByMailProvider();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue