Skip to content
Snippets Groups Projects
Commit 0e28d530 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-553] Fix some file includes after the module breakup

parent 446c4e9b
No related branches found
No related tags found
No related merge requests found
...@@ -299,7 +299,7 @@ EOF; ...@@ -299,7 +299,7 @@ EOF;
if ($row->migration_url) { if ($row->migration_url) {
// If there's a site to migrate, add the job to the queue. // 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( $migration = new Unl_Migration_Tool(
$row->migration_url, $row->migration_url,
$row->migration_path, $row->migration_path,
......
...@@ -54,8 +54,8 @@ function _unl_migration_cron_migration_step() { ...@@ -54,8 +54,8 @@ function _unl_migration_cron_migration_step() {
$item = $queue->claimItem(120); $item = $queue->claimItem(120);
$queue->deleteItem($item); $queue->deleteItem($item);
if (unl_migration_queue_step($item->data)) { if (unl_migration_queue_step($item->data)) {
module_load_include('module', 'unl'); module_load_include('module', 'unl_multisite');
unl_send_site_created_email(); _unl_multisite_send_site_created_email();
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment