Revision: 20924
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20924
Author: sigurdne
Date: 2010-01-05 21:19:03 +0000 (Tue, 05 Jan 2010)
Log Message:
-----------
Fix: No need to initiate the object twice
Modified Paths:
--------------
people/sigurdne/modules/phpgwapi/trunk/inc/class.setup.inc.php
Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.setup.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.setup.inc.php
2010-01-05 21:16:30 UTC (rev 20923)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.setup.inc.php
2010-01-05 21:19:03 UTC (rev 20924)
@@ -39,10 +39,11 @@
{
$this->detection =
createObject('phpgwapi.setup_detection');
$this->process =
createObject('phpgwapi.setup_process');
+ $_translation = &$this->process->translation;
/* The setup application needs these */
$this->html = $html ?
CreateObject('phpgwapi.setup_html') : null;
- $this->translation = $translation ?
CreateObject('phpgwapi.setup_translation') : null;
+ $this->translation = $translation ? $_translation :
null ; //CreateObject('phpgwapi.setup_translation') : null;
//$this->tbl_apps = $this->get_apps_table_name();
//$this->tbl_config = $this->get_config_table_name();
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs