1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Contacts: Disable magic accessors in collection class.

This commit is contained in:
Thomas Tanghus 2013-03-22 15:00:47 +01:00
parent e0b95a2857
commit a92eb61135

View File

@ -147,7 +147,7 @@ abstract class PIMCollectionAbstract extends PIMObjectAbstract implements \Itera
// Magic property accessors // Magic property accessors
// NOTE: They should go in the implementations(?) // NOTE: They should go in the implementations(?)
/*
public function __set($id, $value) { public function __set($id, $value) {
$this->objects[$id] = $value; $this->objects[$id] = $value;
} }
@ -163,6 +163,6 @@ abstract class PIMCollectionAbstract extends PIMObjectAbstract implements \Itera
public function __unset($id) { public function __unset($id) {
unset($this->objects[$id]); unset($this->objects[$id]);
} }
*/
} }