mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed old classname
This commit is contained in:
parent
80d89dc590
commit
c4ec7ad53f
@ -14,7 +14,7 @@ if (!extension_loaded('dom'))
|
|||||||
echo "<p>Required PHP DOM extension missing, installation of ImportExport definitions aborted.</p>\n";
|
echo "<p>Required PHP DOM extension missing, installation of ImportExport definitions aborted.</p>\n";
|
||||||
return; // otherwise we mess up the whole eGroupware install process
|
return; // otherwise we mess up the whole eGroupware install process
|
||||||
}
|
}
|
||||||
require_once(EGW_INCLUDE_ROOT. '/importexport/inc/class.bodefinitions.inc.php');
|
require_once(EGW_INCLUDE_ROOT. '/importexport/inc/class.importexport_definitions_bo.inc.php');
|
||||||
|
|
||||||
// This sets up $GLOBALS['egw']->accounts and $GLOBALS['egw']->db
|
// This sets up $GLOBALS['egw']->accounts and $GLOBALS['egw']->db
|
||||||
$GLOBALS['egw_setup']->setup_account_object();
|
$GLOBALS['egw_setup']->setup_account_object();
|
||||||
@ -31,6 +31,6 @@ while (false !== ($appdir = $egwdir->read())) {
|
|||||||
$file = $defdir. '/'. $entry;
|
$file = $defdir. '/'. $entry;
|
||||||
list( $filename, $extension) = explode('.',$entry);
|
list( $filename, $extension) = explode('.',$entry);
|
||||||
if ( $extension != 'xml' ) continue;
|
if ( $extension != 'xml' ) continue;
|
||||||
bodefinitions::import( $file );
|
importexport_definitions_bo::import( $file );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user