Author: mcantelon
Date: Mon Jan  2 14:09:16 2012
New Revision: 10518

Log:
Replaced magic numbers with constants for taxonomy IDs.

Modified:
   trunk/lib/task/csvImportTask.class.php

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Mon Jan  2 14:04:00 2012        
(r10517)
+++ trunk/lib/task/csvImportTask.class.php      Mon Jan  2 14:09:16 2012        
(r10518)
@@ -69,8 +69,8 @@
 
     // Get note type ID => name mapping for note types
     $noteTaxonomies = array(
-      37 => 'noteTypes',
-      52 => 'titleNoteTypes'
+      QubitTaxonomy::NOTE_TYPE_ID      => 'noteTypes',
+      QubitTaxonomy::RAD_TITLE_NOTE_ID => 'titleNoteTypes'
     );
     foreach($noteTaxonomies as $taxonomyId => $varName) {
       $$varName = array();

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