Completed
Pull Request — master (#539)
by Julius
06:21
created
lib/Controller/DocumentController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use OCA\Richdocuments\Db\WopiMapper;
15 15
 use OCA\Richdocuments\Service\FederationService;
16 16
 use OCA\Richdocuments\TokenManager;
17
-use OCA\Richdocuments\WOPI\Parser;
18 17
 use \OCP\AppFramework\Controller;
19 18
 use OCP\AppFramework\Http;
20 19
 use OCP\AppFramework\Http\JSONResponse;
Please login to merge, or discard this patch.
lib/TokenManager.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -189,6 +189,10 @@
 block discarded – undo
189 189
 		}
190 190
 	}
191 191
 
192
+	/**
193
+	 * @param string $userId
194
+	 * @param integer $templateDestination
195
+	 */
192 196
 	public function getTokenForTemplate(File $file, $userId, $templateDestination, $direct = false) {
193 197
 		$owneruid = $userId;
194 198
 		$editoruid = $userId;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
 use OCP\IGroupManager;
33 33
 use OCP\IURLGenerator;
34 34
 use OCP\IUserManager;
35
-use OCP\Security\ISecureRandom;
36 35
 use OCP\Share\IManager;
37 36
 use OCP\IL10N;
38 37
 use OCP\Util;
Please login to merge, or discard this patch.