From 0dc2e43b19bf4f429f647732efd382a5e23a8eb3 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Wed, 3 Nov 2010 21:34:00 +0000
Subject: [PATCH] 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
---
 sites/all/modules/unl/unl_migration.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sites/all/modules/unl/unl_migration.php b/sites/all/modules/unl/unl_migration.php
index 6a87ea20..29954181 100644
--- a/sites/all/modules/unl/unl_migration.php
+++ b/sites/all/modules/unl/unl_migration.php
@@ -621,6 +621,7 @@ class Unl_Migration_Tool
         
         if ($makeFrontPage) {
             variable_set('site_frontpage', 'node/' . $node->nid);
+            variable_set('site_name', $title);
         }
         
         $this->_log('Created page "' . $title . '" with node id ' . $node->nid . ' at ' . $alias . '.');
-- 
GitLab