Author: david
Date: Mon Jun 27 14:15:34 2011
New Revision: 9194

Log:
Add exception for QubitInformationObject::ROOT

Modified:
   trunk/lib/task/migrate/QubitMigrate109.class.php

Modified: trunk/lib/task/migrate/QubitMigrate109.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate109.class.php    Mon Jun 27 13:57:05 
2011        (r9193)
+++ trunk/lib/task/migrate/QubitMigrate109.class.php    Mon Jun 27 14:15:34 
2011        (r9194)
@@ -623,6 +623,12 @@
   {
     foreach ($this->data['QubitInformationObject'] as $key => $item)
     {
+      // Don't touch root info object
+      if (isset($item['id']) && '<?php echo 
QubitInformationObject::ROOT_ID."\n" ?>' == $item['id'])
+      {
+        continue;
+      }
+
       if (false === $this->getRowKey('QubitStatus', 'object_id', $key))
       {
         $keys = array($key);

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to