function drd_server_connect in Drupal Remote Dashboard Server 6
Same name and namespace in other branches
- 7 drd_server.module \drd_server_connect()
1 string reference to 'drd_server_connect'
- drd_server_xmlrpc in ./
drd_server.module - Implementation of hook_xmlrpc().
File
- ./
drd_server.module, line 50
Code
function drd_server_connect($username, $password) {
$user = drd_server_validate_user($username, $password);
if (is_string($user)) {
return drd_server_error($user);
}
return drd_server_result('connect', session_id());
}