diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install index a0f419cdadcd143bc5bd4d538cb371bfaf68254d..5f9475e289cfebddb0b5dd42275d6a1f9c1f6feb 100644 --- a/profiles/unl_profile/unl_profile.install +++ b/profiles/unl_profile/unl_profile.install @@ -299,7 +299,7 @@ EOF; if ($row->migration_url) { // If there's a site to migrate, add the job to the queue. - require_once DRUPAL_ROOT . '/sites/all/modules/unl/unl_migration.php'; + require_once drupal_get_path('module', 'unl_migration') . '/unl_migration.php'; $migration = new Unl_Migration_Tool( $row->migration_url, $row->migration_path, diff --git a/sites/all/modules/unl_migration/unl_migration.module b/sites/all/modules/unl_migration/unl_migration.module index 947f45d50e6e8873188b2c8d59f7be899117eec3..1d138fb34f2cfd5a6b86cdffa185a80ed1c64d2d 100644 --- a/sites/all/modules/unl_migration/unl_migration.module +++ b/sites/all/modules/unl_migration/unl_migration.module @@ -54,8 +54,8 @@ function _unl_migration_cron_migration_step() { $item = $queue->claimItem(120); $queue->deleteItem($item); if (unl_migration_queue_step($item->data)) { - module_load_include('module', 'unl'); - unl_send_site_created_email(); + module_load_include('module', 'unl_multisite'); + _unl_multisite_send_site_created_email(); } } }