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:
parent
e0b95a2857
commit
a92eb61135
@ -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]);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user