Author: mcantelon
Date: Thu Feb 2 11:36:48 2012
New Revision: 10796
Log:
Got rid of use of magic number.
Modified:
trunk/lib/task/import/csvAuthorityRecordImportTask.class.php
Modified: trunk/lib/task/import/csvAuthorityRecordImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvAuthorityRecordImportTask.class.php Thu Feb
2 11:29:10 2012 (r10795)
+++ trunk/lib/task/import/csvAuthorityRecordImportTask.class.php Thu Feb
2 11:36:48 2012 (r10796)
@@ -214,7 +214,7 @@
$otherName = new QubitOtherName;
$otherName->objectId = $self->object->id;
$otherName->name = $alias['otherName'];
- $otherName->typeId = 149;
+ $otherName->typeId = QubitTerm::OTHER_FORM_OF_NAME_ID;
$otherName->save();
}
}
--
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.