removed stupid debug messages

This commit is contained in:
Ralf Becker 2003-10-15 12:29:27 +00:00
parent 692767bcf0
commit 7363643128

View File

@ -329,7 +329,7 @@
} }
foreach($langs as $lang) foreach($langs as $lang)
{ {
echo '<br>Working on: ' . $lang; //echo '<br>Working on: ' . $lang;
$addlang = False; $addlang = False;
if ($upgrademethod == 'addonlynew') if ($upgrademethod == 'addonlynew')
{ {
@ -362,7 +362,7 @@
//echo '<br>Checking in: ' . $app['name']; //echo '<br>Checking in: ' . $app['name'];
if($GLOBALS['phpgw_setup']->app_registered($app) && file_exists($appfile)) if($GLOBALS['phpgw_setup']->app_registered($app) && file_exists($appfile))
{ {
echo '<br>Including: ' . $appfile; //echo '<br>Including: ' . $appfile;
$lines = file($appfile); $lines = file($appfile);
foreach($lines as $line) foreach($lines as $line)
{ {
@ -378,7 +378,7 @@
} }
$charset = @$raw['common']['charset'] ? $raw['common']['charset'] : $this->charset($lang); $charset = @$raw['common']['charset'] ? $raw['common']['charset'] : $this->charset($lang);
//echo "<p>lang='$lang', charset='$charset', system_charset='$this->system_charset')</p>\n"; //echo "<p>lang='$lang', charset='$charset', system_charset='$this->system_charset')</p>\n";
echo "<p>raw($lang)=<pre>".print_r($raw,True)."</pre>\n"; //echo "<p>raw($lang)=<pre>".print_r($raw,True)."</pre>\n";
foreach($raw as $app_name => $ids) foreach($raw as $app_name => $ids)
{ {
foreach($ids as $message_id => $content) foreach($ids as $message_id => $content)
@ -468,7 +468,7 @@ echo "<p>raw($lang)=<pre>".print_r($raw,True)."</pre>\n";
{ {
// update all langs // update all langs
$installed = $this->get_installed_langs(); $installed = $this->get_installed_langs();
echo "<p>install_langs(".print_r($installed,True).")</p>\n"; //echo "<p>install_langs(".print_r($installed,True).")</p>\n";
$this->install_langs($installed ? array_keys($installed) : array()); $this->install_langs($installed ? array_keys($installed) : array());
break; break;
} }