Author: sevein
Date: Mon Jul 23 09:49:36 2012
New Revision: 11959

Log:
Call modify() to add keymap table, some other minor changes

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

Modified: trunk/lib/task/migrate/arUpgrader110.class.php
==============================================================================
--- trunk/lib/task/migrate/arUpgrader110.class.php      Mon Jul 23 00:02:08 
2012        (r11958)
+++ trunk/lib/task/migrate/arUpgrader110.class.php      Mon Jul 23 09:49:36 
2012        (r11959)
@@ -559,6 +559,7 @@
         {
           $io = QubitInformationObject::getById($item->informationObjectId);
 
+          // Build repository dirname
           if (null !== $repository = $io->getRepository)
           {
             if (!isset($repository->slug))
@@ -628,6 +629,9 @@
 
             $digitalObject->save();
           }
+
+          QubitInformationObject::clearCache();
+          QubitDigitalObject::clearCache();
         }
 
         break;
@@ -697,7 +701,7 @@
         break;
 
       // Ensure all information objects get an explicit publication status
-      case 74: echo "TODO case 74 OPTIMIZE STATUS/ANCESTORS LOOKUP\n";
+      case 74:
         $sql  = '
           SELECT id
           FROM information_object
@@ -850,6 +854,7 @@
 )Engine=InnoDB;
 
 sql;
+    QubitPdo::modify($sql);
 
     // Add rights and rights_i18n tables
     $sql = <<<sql

-- 
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