@@ -65,6 +65,9 @@ |
||
65 | 65 | $this->timeFactory = $timeFactory; |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @return string |
|
70 | + */ |
|
68 | 71 | public function get() { |
69 | 72 | // First check if there is a local valid discovery file |
70 | 73 | try { |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use OCP\Http\Client\IClientService; |
29 | 29 | use OCP\IConfig; |
30 | 30 | use OCP\IL10N; |
31 | -use OCP\Notification\IApp; |
|
32 | 31 | |
33 | 32 | class DiscoveryManager { |
34 | 33 | /** @var IClientService */ |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use OC\Files\View; |
25 | 25 | use OCA\Richdocuments\Db\WopiMapper; |
26 | 26 | use OCA\Richdocuments\TokenManager; |
27 | -use OCA\Richdocuments\Db\Wopi; |
|
28 | 27 | use OCA\Richdocuments\Helper; |
29 | 28 | use OCP\AppFramework\Controller; |
30 | 29 | use OCP\AppFramework\Db\DoesNotExistException; |