Author: david
Date: Fri Jul 22 16:06:46 2011
New Revision: 9365

Log:
checksum_type_id was never used

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

Modified: trunk/lib/task/migrate/QubitMigrate110.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate110.class.php    Fri Jul 22 15:56:06 
2011        (r9364)
+++ trunk/lib/task/migrate/QubitMigrate110.class.php    Fri Jul 22 16:06:46 
2011        (r9365)
@@ -409,8 +409,8 @@
   }
 
   /**
-   * Migrate checksumTypeId to checksumType.  Set md5 checksum type previous to
-   * revision 9340
+   * Prior to revision 9340 all checksums were md5 and the algorithm was not
+   * recorded
    *
    * @return QubitMigrate110 SELF
    */
@@ -424,16 +424,8 @@
         continue;
       }
 
-      if (isset($item['checksumTypeId']) && 0 < 
strlen($item['checksumTypeId']))
-      {
-        $item['checksumType'] = $item['checksumTypeId'];
-        unset($item['checksumTypeId']);
-      }
-      else
-      {
-        // Used md5 for all checksums previous to r9340
-        $item['checksumType'] = 'md5';
-      }
+      // Used md5 for all checksums previous to r9340
+      $item['checksumType'] = 'md5';
     }
 
     return $this;

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