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

When migrating, set the site's Site Name to the title of the front page.

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@288 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent b4ed05d7
No related branches found
No related tags found
No related merge requests found
...@@ -621,6 +621,7 @@ class Unl_Migration_Tool ...@@ -621,6 +621,7 @@ class Unl_Migration_Tool
if ($makeFrontPage) { if ($makeFrontPage) {
variable_set('site_frontpage', 'node/' . $node->nid); variable_set('site_frontpage', 'node/' . $node->nid);
variable_set('site_name', $title);
} }
$this->_log('Created page "' . $title . '" with node id ' . $node->nid . ' at ' . $alias . '.'); $this->_log('Created page "' . $title . '" with node id ' . $node->nid . ' at ' . $alias . '.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment