From 842c397e38cdcb6983bdc6b790c8fd66ab1a38bf Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Wed, 7 Aug 2013 18:01:14 +0300 Subject: [PATCH] Use Json --- ajax/otpoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/otpoll.php b/ajax/otpoll.php index 65367be2..e7be378d 100644 --- a/ajax/otpoll.php +++ b/ajax/otpoll.php @@ -86,7 +86,7 @@ try{ $response["headSeq"] = $currentHead; } } else { // HEADs do not match - $response["ops"] = OCA\Office\Op::getOpsAfter($esId, $seqHead); + $response["ops"] = OCA\Office\Op::getOpsAfterJson($esId, $seqHead); $response["headSeq"] = $currentHead; $response["result"] = $hasOps ? 'conflict' : 'newOps'; }