@@ 465-468 (lines=4) @@ | ||
462 | public function wopiGetToken($fileId){ |
|
463 | $arr = explode('_', $fileId, 2); |
|
464 | $version = '0'; |
|
465 | if (count($arr) == 2) { |
|
466 | $fileId = $arr[0]; |
|
467 | $version = $arr[1]; |
|
468 | } |
|
469 | ||
470 | \OC::$server->getLogger()->debug('Generating WOPI Token for file {fileId}, version {version}.', [ 'app' => $this->appName, 'fileId' => $fileId, 'version' => $version ]); |
|
471 | ||
@@ 528-531 (lines=4) @@ | ||
525 | ||
526 | $arr = explode('_', $fileId, 2); |
|
527 | $version = '0'; |
|
528 | if (count($arr) == 2) { |
|
529 | $fileId = $arr[0]; |
|
530 | $version = $arr[1]; |
|
531 | } |
|
532 | ||
533 | \OC::$server->getLogger()->debug('Getting info about file {fileId}, version {version} by token {token}.', [ 'app' => $this->appName, 'fileId' => $fileId, 'version' => $version, 'token' => $token ]); |
|
534 | ||
@@ 579-582 (lines=4) @@ | ||
576 | ||
577 | $arr = explode('_', $fileId, 2); |
|
578 | $version = '0'; |
|
579 | if (count($arr) == 2) { |
|
580 | $fileId = $arr[0]; |
|
581 | $version = $arr[1]; |
|
582 | } |
|
583 | ||
584 | \OC::$server->getLogger()->debug('Getting contents of file {fileId}, version {version} by token {token}.', [ 'app' => $this->appName, 'fileId' => $fileId, 'version' => $version, 'token' => $token ]); |
|
585 | ||
@@ 630-633 (lines=4) @@ | ||
627 | ||
628 | $arr = explode('_', $fileId, 2); |
|
629 | $version = '0'; |
|
630 | if (count($arr) == 2) { |
|
631 | $fileId = $arr[0]; |
|
632 | $version = $arr[1]; |
|
633 | } |
|
634 | ||
635 | \OC::$server->getLogger()->debug('Putting contents of file {fileId}, version {version} by token {token}.', [ 'app' => $this->appName, 'fileId' => $fileId, 'version' => $version, 'token' => $token ]); |
|
636 |