mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 11:38:02 +02:00
* PostgreSQL: fixed not working installation (access to not yet existing table stalls transaction)
This commit is contained in:
@ -45,14 +45,6 @@ class setup_process
|
||||
function init_process()
|
||||
{
|
||||
$GLOBALS['egw_setup']->oProc = new schema_proc();
|
||||
|
||||
// delete image-map, in case new apps get installed, or existing ones updated
|
||||
try {
|
||||
common::delete_image_map();
|
||||
}
|
||||
catch(Exception $e) {
|
||||
// ignore exception, as during a new install, there's no cache configured and therefore no need to unset
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -175,6 +167,16 @@ class setup_process
|
||||
$pass_string = implode (':', $pass);
|
||||
$passing_string = implode (':', $passing);
|
||||
}
|
||||
try {
|
||||
// flush instance cache
|
||||
egw_cache::flush(egw_cache::INSTANCE);
|
||||
// delete image-map, in case new apps get installed, or existing ones updated
|
||||
common::delete_image_map();
|
||||
}
|
||||
catch(Exception $e) {
|
||||
unset($e);
|
||||
// ignore exception, as during a new install, there's no cache configured and therefore no need to unset
|
||||
}
|
||||
/* now return the list */
|
||||
return $setup_info = array_merge($setup_info,$passed);
|
||||
}
|
||||
|
Reference in New Issue
Block a user