|
@@ 912-915 (lines=4) @@
|
| 909 |
|
|
| 910 |
|
|
| 911 |
|
try { |
| 912 |
|
if ($this->shareManager->shareProviderExists(\OCP\Share::SHARE_TYPE_CIRCLE)) { |
| 913 |
|
$share = $this->shareManager->getShareById('ocCircleShare:' . $id); |
| 914 |
|
return $share; |
| 915 |
|
} |
| 916 |
|
} catch (ShareNotFound $e) { |
| 917 |
|
// Do nothing, just try the other share type |
| 918 |
|
} |
|
@@ 921-924 (lines=4) @@
|
| 918 |
|
} |
| 919 |
|
|
| 920 |
|
try { |
| 921 |
|
if ($this->shareManager->shareProviderExists(\OCP\Share::SHARE_TYPE_EMAIL)) { |
| 922 |
|
$share = $this->shareManager->getShareById('ocMailShare:' . $id); |
| 923 |
|
return $share; |
| 924 |
|
} |
| 925 |
|
} catch (ShareNotFound $e) { |
| 926 |
|
// Do nothing, just try the other share type |
| 927 |
|
} |