R34262 - /trunk/importexport/setup/tables_update.inc.php

Author: nathangray
New Revision: 34262

URL: http://www.egroupware.org/viewvc/egroupware?rev=34262&view=rev
Log:
Remove wrong and unneeded upgrade

Modified:
trunk/importexport/setup/tables_update.inc.php

Modified: trunk/importexport/setup/tables_update.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/importexport/setup/tables_update.inc.php?rev=34262&r1=34261&r2=34262&view=diff

— trunk/importexport/setup/tables_update.inc.php (original)
+++ trunk/importexport/setup/tables_update.inc.php Mon Mar 21 16:07:52 2011
@@ -57,21 +57,6 @@

function importexport_upgrade1_9_001()
{

  • $egwdir = dir(EGW_INCLUDE_ROOT);
  • while (false !== ($appdir = $egwdir->read())) {
  •   $defdir = EGW_INCLUDE_ROOT. "/$appdir/setup/";
    
  •   if ( !is_dir( $defdir ) ) continue;
    
  •   // Set as default definition for the app, if there is no site default yet
    
  •   if(!$GLOBALS['egw']->preferences->default[$appdir]['nextmatch-export-definition']) {
    
  •   	$bo = new importexport_definitions_bo(array('name' => "export-$appdir*"));
    
  •   	$definitions = $bo->get_definitions();
    
  •   	if($definitions[0]) {
    
  •   		$definition = $bo->read($definitions[0]);
    
  •   		$GLOBALS['egw']->preferences->add($appdir, 'nextmatch-export-definition', $definition['name'], 'default');
    
  •   	}
    
  •   }
    
  • }
  • $GLOBALS[‘egw’]->preferences->save_repository(true, ‘default’);
  • // Not needed - did it wrong
    return $GLOBALS[‘setup_info’][‘importexport’][‘currentver’] = ‘1.9.002’;
    }

Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs