Rollback changes pending further tests

This commit is contained in:
Miles Lott 2001-07-15 13:49:37 +00:00
parent 9571b47278
commit 7e4189916e

View File

@ -40,7 +40,8 @@
@param $classname name of class @param $classname name of class
@param $p1-$p16 class parameters (all optional) @param $p1-$p16 class parameters (all optional)
*/ */
function CreateObject($classname, $p1='',$p2='',$p3='',$p4='',$p5='',$p6='',$p7='',$p8='',$p9='',$p10='',$p11='',$p12='',$p13='',$p14='',$p15='',$p16='') function CreateObject($classname, $p1='')
/* function CreateObject($classname, $p1='',$p2='',$p3='',$p4='',$p5='',$p6='',$p7='',$p8='',$p9='',$p10='',$p11='',$p12='',$p13='',$p14='',$p15='',$p16='')*/
{ {
global $phpgw, $phpgw_info, $phpgw_domain; global $phpgw, $phpgw_info, $phpgw_domain;
$classpart = explode (".", $classname); $classpart = explode (".", $classname);
@ -58,7 +59,8 @@
} }
else else
{ {
$obj = new $classname($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8,$p9,$p10,$p11,$p12,$p13,$p14,$p15,$p16); /* $obj = new $classname($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8,$p9,$p10,$p11,$p12,$p13,$p14,$p15,$p16); */
$obj = new $classname($p1);
} }
return $obj; return $obj;
} }