From 5758616a5634206fb3fcd8ad392143018838d723 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Thu, 1 Jul 2010 14:39:09 +0000 Subject: [PATCH] Set the owner of migrated pages to the user who migrated them. git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@121 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 affb5e79..97e93665 100644 --- a/sites/all/modules/unl/unl_migration.php +++ b/sites/all/modules/unl/unl_migration.php @@ -419,6 +419,7 @@ class Unl_Migration_Tool } $node = new StdClass(); + $node->uid = $GLOBALS['user']->uid; $node->type = 'page'; $node->title = $title; $node->language = 'und'; -- GitLab