dont crash when neldb is missing
hg/feature/qt5
botanic 11 years ago
parent cafe41fa24
commit 92afe8e76a

@ -67,6 +67,8 @@ function domain_management_hook_get_db()
{
global $domain_management_return_set;
try {
$db = new DBLayer( 'shard' );
//get all domains
@ -91,6 +93,10 @@ function domain_management_hook_get_db()
}
return $rows;
} catch (Exception $e) {
return null;
}
}
/**

Loading…
Cancel
Save