From 0e28d53043f75c7c00676d40646d43a5964be093 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Wed, 28 Nov 2012 11:20:39 -0600
Subject: [PATCH] [gh-553] Fix some file includes after the module breakup

---
 profiles/unl_profile/unl_profile.install             | 2 +-
 sites/all/modules/unl_migration/unl_migration.module | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install
index a0f419cd..5f9475e2 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 947f45d5..1d138fb3 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();
     }
   }
 }
-- 
GitLab