mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Rollback changes pending further tests
This commit is contained in:
parent
9571b47278
commit
7e4189916e
@ -40,7 +40,8 @@
|
||||
@param $classname name of class
|
||||
@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;
|
||||
$classpart = explode (".", $classname);
|
||||
@ -58,7 +59,8 @@
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user