From 59a095e98d8607dbc21b043320e459838b19e269 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Thu, 13 Nov 2014 01:34:44 +0300 Subject: [PATCH] updateMember is not used currently --- lib/db/op.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/db/op.php b/lib/db/op.php index e54ad5aa..12d5cefe 100644 --- a/lib/db/op.php +++ b/lib/db/op.php @@ -121,19 +121,7 @@ class Op extends \OCA\Documents\Db { } } - public function updateMember($esId, $memberId, $fullName, $color, $imageUrl){ - //TODO: Follow the spec https://github.com/kogmbh/WebODF/blob/master/webodf/lib/ops/OpUpdateMember.js#L95 - $op = array( - 'optype' => 'UpdateMember', - 'memberid' => (string) $memberId, - 'timestamp' => (string) time(), - 'fullName' => $fullName, - 'color' => $color, - 'imageUrl' => $imageUrl - ); - $this->insertOp($esId, $memberId, $op); - } - + //TODO: Implement https://github.com/kogmbh/WebODF/blob/master/webodf/lib/ops/OpUpdateMember.js#L95 public function changeNick($esId, $memberId, $fullName){ $op = array( 'optype' => 'UpdateMember',