PHP5.3 fix, which is already in trunk, but forgotten to backport to stable

This commit is contained in:
Ralf Becker 2009-08-22 15:59:21 +00:00
parent a54df4b480
commit a5155997f6

View File

@ -487,7 +487,7 @@ abstract class admin_cmd
* @param mixed $value * @param mixed $value
* @return mixed * @return mixed
*/ */
protected function __set($property,$value) function __set($property,$value)
{ {
$this->data[$property] = $value; $this->data[$property] = $value;
} }
@ -497,7 +497,7 @@ abstract class admin_cmd
* *
* @param string $property * @param string $property
*/ */
protected function __unset($property) function __unset($property)
{ {
unset($this->data[$property]); unset($this->data[$property]);
} }
@ -795,7 +795,7 @@ abstract class admin_cmd
return admin_cmd::run_queued_jobs(); return admin_cmd::run_queued_jobs();
} }
include_once(EGW_API_INC.'/class.asyncservice.inc.php'); include_once(EGW_API_INC.'/class.asyncservice.inc.php');
$async =& new asyncservice(); $async = new asyncservice();
// we cant use this class as callback, as it's abstract and ExecMethod used by the async service instanciated the class! // we cant use this class as callback, as it's abstract and ExecMethod used by the async service instanciated the class!
list($app) = explode('_',$class=$next['type']); list($app) = explode('_',$class=$next['type']);