[20924] Fix: No need to initiate the object twice

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
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();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.