Allow empty socket (bug #1452142).

This commit is contained in:
Michal Čihař
2006-03-17 10:17:58 +00:00
parent d40a1dab40
commit a2f7bc01de
2 changed files with 3 additions and 4 deletions

View File

@@ -1224,10 +1224,6 @@ switch ($action) {
message('error', 'Empty hostname!');
$err = TRUE;
}
if ($new_server['connect_type'] == 'socket' && empty($new_server['socket'])) {
message('error', 'Empty socket with socket connection seleted!');
$err = TRUE;
}
if ($new_server['auth_type'] == 'config' && empty($new_server['user'])) {
message('error', 'Empty username while using config authentication method!');
$err = TRUE;