mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
* Setup: make sure interactive setup does not stall on SQL error when updating from 1.8
This commit is contained in:
parent
4ad4e1a5f3
commit
47a1a05227
@ -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