|
@@ 931-934 (lines=4) @@
|
| 928 |
|
|
| 929 |
|
|
| 930 |
|
try { |
| 931 |
|
if ($this->shareManager->shareProviderExists(Share::SHARE_TYPE_CIRCLE)) { |
| 932 |
|
$share = $this->shareManager->getShareById('ocCircleShare:' . $id, $this->currentUser); |
| 933 |
|
return $share; |
| 934 |
|
} |
| 935 |
|
} catch (ShareNotFound $e) { |
| 936 |
|
// Do nothing, just try the other share type |
| 937 |
|
} |
|
@@ 940-943 (lines=4) @@
|
| 937 |
|
} |
| 938 |
|
|
| 939 |
|
try { |
| 940 |
|
if ($this->shareManager->shareProviderExists(Share::SHARE_TYPE_EMAIL)) { |
| 941 |
|
$share = $this->shareManager->getShareById('ocMailShare:' . $id, $this->currentUser); |
| 942 |
|
return $share; |
| 943 |
|
} |
| 944 |
|
} catch (ShareNotFound $e) { |
| 945 |
|
// Do nothing, just try the other share type |
| 946 |
|
} |