|
30 | 30 |
|
31 | 31 | use OC\AppFramework\Http; |
32 | 32 | use OC\Files\Filesystem; |
33 | | -use OC\HintException; |
34 | 33 | use OCA\FederatedFileSharing\AddressHandler; |
35 | 34 | use OCA\FederatedFileSharing\FederatedShareProvider; |
36 | 35 | use OCA\Files_Sharing\Activity\Providers\RemoteShares; |
|
48 | 47 | use OCP\Federation\ICloudFederationShare; |
49 | 48 | use OCP\Federation\ICloudIdManager; |
50 | 49 | use OCP\Files\NotFoundException; |
| 50 | +use OCP\HintException; |
51 | 51 | use OCP\IConfig; |
52 | 52 | use OCP\IDBConnection; |
53 | 53 | use OCP\IGroupManager; |
54 | 54 | use OCP\ILogger; |
55 | 55 | use OCP\IURLGenerator; |
56 | 56 | use OCP\IUserManager; |
57 | 57 | use OCP\Notification\IManager as INotificationManager; |
58 | | -use OCP\Share; |
59 | 58 | use OCP\Share\Exceptions\ShareNotFound; |
60 | 59 | use OCP\Share\IManager; |
61 | 60 | use OCP\Share\IShare; |
@@ -176,7 +175,7 @@ public function getShareType() { |
176 | 175 | * |
177 | 176 | * @throws ProviderCouldNotAddShareException |
178 | 177 | * @throws \OCP\AppFramework\QueryException |
179 | | - * @throws \OC\HintException |
| 178 | + * @throws HintException |
180 | 179 | * @since 14.0.0 |
181 | 180 | */ |
182 | 181 | public function shareReceived(ICloudFederationShare $share) { |
@@ -305,7 +304,7 @@ public function shareReceived(ICloudFederationShare $share) { |
305 | 304 | * @throws ActionNotSupportedException |
306 | 305 | * @throws AuthenticationFailedException |
307 | 306 | * @throws BadRequestException |
308 | | - * @throws \OC\HintException |
| 307 | + * @throws HintException |
309 | 308 | * @since 14.0.0 |
310 | 309 | */ |
311 | 310 | public function notificationReceived($notificationType, $providerId, array $notification) { |
@@ -373,7 +372,7 @@ private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $s |
373 | 372 | * @throws ActionNotSupportedException |
374 | 373 | * @throws AuthenticationFailedException |
375 | 374 | * @throws BadRequestException |
376 | | - * @throws \OC\HintException |
| 375 | + * @throws HintException |
377 | 376 | */ |
378 | 377 | private function shareAccepted($id, array $notification) { |
379 | 378 | if (!$this->isS2SEnabled()) { |
@@ -442,7 +441,7 @@ protected function executeAcceptShare(IShare $share) { |
442 | 441 | * @throws AuthenticationFailedException |
443 | 442 | * @throws BadRequestException |
444 | 443 | * @throws ShareNotFound |
445 | | - * @throws \OC\HintException |
| 444 | + * @throws HintException |
446 | 445 | * |
447 | 446 | */ |
448 | 447 | protected function shareDeclined($id, array $notification) { |
|
0 commit comments