You are here

function deploy_auth_sessid_arguments in Deploy - Content Staging 6

Implementation of the arguments callback.

1 string reference to 'deploy_auth_sessid_arguments'
deploy_deploy_auth_info in ./deploy.module
Implementation of hook_deploy_auth_info().

File

./deploy.module, line 1130
Deployment API which enables modules to deploy items between servers.

Code

function deploy_auth_sessid_arguments(&$protocol_args, &$function_args) {

  // Check the method name. The server URL is the first argument.
  if ($protocol_args[1] != 'system.connect') {
    $sessid = variable_get('deploy_auth_sessid', '');
    array_push($protocol_args, $sessid);
  }
}