From 56a982b19c445cb9467d919b3afc8c6adbfd313b Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 4 May 2013 22:47:34 +0200 Subject: [PATCH] Contacts: Temporarily disable permission check in Contact::__set() --- lib/contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/contact.php b/lib/contact.php index 475c2844..b06e15b5 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -643,9 +643,9 @@ class Contact extends VObject\VCard implements IPIMObject { } public function __set($key, $value) { - if(!$this->hasPermission(\OCP\PERMISSION_UPDATE)) { + /*if(!$this->hasPermission(\OCP\PERMISSION_UPDATE)) { throw new \Exception('Access denied'); - } + }*/ parent::__set($key, $value); $this->setSaved(false); }