Skip to content
Commit 0599536c authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Remove unneeded calls to "ShareManager::shareProviderExists()"



"ShareManager::getSharesBy()" already checks if the share provider
exists before returning the shares and, if the provider does not exist,
it returns an empty array. Therefore it is not needed to explicitly
check if the provider exists or not.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 52870fd1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment