Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-01-03 22:31:35 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-01-03 22:31:35 +0300
commit9cd9258dbbf1e4c740213c8ab4cc6dfcbbab2a29 (patch)
treeb50882767595dc16d86d013ab4bb265cbe146d0f /lib
parent43ffbf2e97701cb62a71d0e81bc8efda1b1e9e5b (diff)
Append instance id to rev history
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/DocumentController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php
index d8df677a..731f10bc 100644
--- a/lib/Controller/DocumentController.php
+++ b/lib/Controller/DocumentController.php
@@ -108,6 +108,7 @@ class DocumentController extends Controller {
'token' => $token,
'urlsrc' => $urlSrc,
'path' => '/',
+ 'instanceId' => $this->settings->getSystemValue('instanceid'),
];
$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');
@@ -157,6 +158,7 @@ class DocumentController extends Controller {
'token' => $token,
'urlsrc' => $urlSrc,
'path' => '/',
+ 'instanceId' => $this->settings->getSystemValue('instanceid'),
];
$response = new TemplateResponse('richdocuments', 'documents', $params, 'empty');