Author: david
Date: Thu Sep 24 15:10:21 2009
New Revision: 3517

Log:
Fix quick link to homepage (migration).

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

Modified: trunk/lib/task/migrate/QubitMigrate107to108.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate107to108.class.php       Thu Sep 24 
15:05:21 2009        (r3516)
+++ trunk/lib/task/migrate/QubitMigrate107to108.class.php       Thu Sep 24 
15:10:21 2009        (r3517)
@@ -583,7 +583,7 @@
     );
 
     // Add user and group sub-menus
-    if ($userMenuKey = ($this->getRowKey('QubitMenu', 'name', 'users')))
+    if (null !== ($userMenuKey = ($this->getRowKey('QubitMenu', 'name', 
'users'))))
     {
       $this->data['QubitMenu']['QubitMenu_mainmenu_admin_users_users'] = array(
         'parent_id' => $userMenuKey,
@@ -601,6 +601,12 @@
       );
     }
 
+    // Update path for home page
+    if (null !== ($menuKey = ($this->getRowKey('QubitMenu', 'name', 'home'))))
+    {
+      $this->data['QubitMenu'][$menuKey]['path'] = 
'staticpage/static?permalink=homepage';
+    }
+
     // Pluralize English 'Add/Edit' menu options for Qubit
     $menuOption = $this->getRowKey('QubitMenu', 'label', array('en' => 
'Information object'));
     if ($menuOption)

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to