forked from extern/egroupware
* Setup: make sure interactive setup does not stall on SQL error when updating from 1.8
This commit is contained in:
parent
d99a283929
commit
07fbace534
@ -1074,6 +1074,7 @@ class setup
|
||||
*/
|
||||
function accounts_exist()
|
||||
{
|
||||
try {
|
||||
if (!$this->setup_account_object()) return false;
|
||||
|
||||
$this->accounts->search(array(
|
||||
@ -1095,7 +1096,11 @@ class setup
|
||||
'query_type' => 'lid',
|
||||
'query' => 'anonymous',
|
||||
));
|
||||
|
||||
}
|
||||
catch (Api\Db\Exception $e) {
|
||||
_egw_log_exception($e);
|
||||
return false;
|
||||
}
|
||||
return !$this->accounts->total;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user