mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Contacts: Temporarily disable permission check in Contact::__set()
This commit is contained in:
parent
7bcd206679
commit
56a982b19c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user