Author: david
Date: Tue Aug 23 11:17:12 2011
New Revision: 9568

Log:
Better test for remote assets

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

Modified: trunk/lib/task/migrate/QubitMigrate110.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate110.class.php    Tue Aug 23 10:57:19 
2011        (r9567)
+++ trunk/lib/task/migrate/QubitMigrate110.class.php    Tue Aug 23 11:17:12 
2011        (r9568)
@@ -637,7 +637,7 @@
         if ($key == $key2 || (isset($item2['parent_id']) && $key == 
$item2['parent_id']))
         {
           // Don't try to move remote assets
-          if ('http://' == substr($item2['path'], 0, 7))
+          if (QubitTerm::EXTERNAL_URI_ID == $resource->usageId)
           {
             continue;
           }

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