You are here

function deploy_install_items in Deploy - Content Staging 5

hook_xmlrpc deploy.install callback

File

./deploy.module, line 557

Code

function deploy_install_items($module, $form_id, $data) {
  watchdog('install', $module);
  if (module_exists($module)) {
    $data = unserialize($data);
    drupal_execute($form_id, $data);
  }
  else {
    return "Module not enabled: {$module}";
  }
}