"backporting missing php5.3 changes from trunk: magic method __set/__unset must be public"

This commit is contained in:
Ralf Becker 2010-04-11 17:02:31 +00:00
parent f6d1db1c09
commit ed397791dc

View File

@ -487,7 +487,7 @@ abstract class admin_cmd
* @param mixed $value
* @return mixed
*/
protected function __set($property,$value)
function __set($property,$value)
{
$this->data[$property] = $value;
}
@ -497,7 +497,7 @@ abstract class admin_cmd
*
* @param string $property
*/
protected function __unset($property)
function __unset($property)
{
unset($this->data[$property]);
}