function services_client_services_client_connection_save in Services Client 7
Same name and namespace in other branches
- 7.2 services_client.module \services_client_services_client_connection_save()
Implements hook_services_client_connection_save().
File
- ./
services_client.module, line 1239 - Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.
Code
function services_client_services_client_connection_save($connection) {
if (!empty($connection->services_client_id)) {
db_merge('services_client_connection_id')
->key(array(
'name' => $connection->name,
))
->fields(array(
'services_client_id' => $connection->services_client_id,
))
->execute();
}
}