function drd_server_domain_update_translation in Drupal Remote Dashboard Server 7
Same name and namespace in other branches
- 6.2 drd_server.domain.inc \drd_server_domain_update_translation()
- 6 drd_server.domain.inc \drd_server_domain_update_translation()
- 7.2 drd_server.domain.inc \drd_server_domain_update_translation()
1 string reference to 'drd_server_domain_update_translation'
- drd_server_xmlrpc in ./
drd_server.module - Implementation of hook_xmlrpc().
File
- ./
drd_server.domain.inc, line 135
Code
function drd_server_domain_update_translation($sid) {
$user = drd_server_load_user($sid);
if (is_string($user)) {
return drd_server_error($user);
}
module_load_include('inc', 'drd_server', 'drd_server.admin');
drd_server_admin_update_translation(FALSE);
$result = theme('status_messages');
return drd_server_result('update.translation', $result);
}