Commit 0e28d530 authored by Tim Steiner's avatar Tim Steiner
Browse files

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

parent 446c4e9b
......@@ -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,
......
......@@ -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();
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment