|
@@ 1013-1016 (lines=4) @@
|
| 1010 |
|
|
| 1011 |
|
|
| 1012 |
|
try { |
| 1013 |
|
if ($this->shareManager->shareProviderExists(Share::SHARE_TYPE_CIRCLE)) { |
| 1014 |
|
$share = $this->shareManager->getShareById('ocCircleShare:' . $id, $this->currentUser); |
| 1015 |
|
return $share; |
| 1016 |
|
} |
| 1017 |
|
} catch (ShareNotFound $e) { |
| 1018 |
|
// Do nothing, just try the other share type |
| 1019 |
|
} |
|
@@ 1022-1025 (lines=4) @@
|
| 1019 |
|
} |
| 1020 |
|
|
| 1021 |
|
try { |
| 1022 |
|
if ($this->shareManager->shareProviderExists(Share::SHARE_TYPE_EMAIL)) { |
| 1023 |
|
$share = $this->shareManager->getShareById('ocMailShare:' . $id, $this->currentUser); |
| 1024 |
|
return $share; |
| 1025 |
|
} |
| 1026 |
|
} catch (ShareNotFound $e) { |
| 1027 |
|
// Do nothing, just try the other share type |
| 1028 |
|
} |