You are here

function clients_drupal_decrypt in Web Service Clients 6

Same name and namespace in other branches
  1. 6.2 connections/clients_drupal/clients_drupal.module \clients_drupal_decrypt()
  2. 7.3 connections/clients_drupal/clients_drupal.module \clients_drupal_decrypt()
  3. 7 backends/clients_drupal/clients_drupal.module \clients_drupal_decrypt()
  4. 7.2 connections/clients_drupal/clients_drupal.module \clients_drupal_decrypt()
1 call to clients_drupal_decrypt()
clients_drupal_clients_connection_load in backends/clients_drupal/clients_drupal.module
Implementation of hook_clients_connection_load

File

backends/clients_drupal/clients_drupal.module, line 464
Drupal Services plugin for Clients module @author Django Beatty - adub

Code

function clients_drupal_decrypt($val) {
  $encryption_method = variable_get('clients_drupal_encryption_method', '');
  if ($encryption_method == 'no_encryption') {
    return $val;
  }
  else {
    return module_invoke($encryption_method, 'clients_drupal_decrypt', $val);
  }
}