From c59b6e286c32066c0648b527e8e88758aed56077 Mon Sep 17 00:00:00 2001 From: jengo Date: Tue, 6 Feb 2001 20:13:58 +0000 Subject: [PATCH] Removed create_specialobject() --- phpgwapi/inc/functions.inc.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index af1708b372..a338706f69 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -46,25 +46,6 @@ return $obj; } - function create_specialobject($classname, $ext, $constructor_param = "") - { - global $phpgw, $phpgw_info, $phpgw_domain; - $classpart = explode (".", $classname); - $appname = $classpart[0]; - $classname = $classpart[1]; - if (!$phpgw_info["flags"]["included_classes"][$classname]){ - $phpgw_info["flags"]["included_classes"][$classname] = True; - include(PHPGW_INCLUDE_ROOT . "/" . $appname . "/inc/class." . $classname . "_" . $ext . ".inc.php"); - } - if ($constructor_param == ""){ - $obj = new $classname; - } else { - $obj = new $classname($constructor_param); - } - return $obj; - } - - function lang($key, $m1="", $m2="", $m3="", $m4="", $m5="", $m6="", $m7="", $m8="", $m9="", $m10="" ) { global $phpgw;