Author: sevein
Date: Wed Jul 11 09:32:10 2012
New Revision: 11904
Log:
Add missing taxonomy, improve code comments
Modified:
trunk/lib/task/migrate/arUpgrader110.class.php
Modified: trunk/lib/task/migrate/arUpgrader110.class.php
==============================================================================
--- trunk/lib/task/migrate/arUpgrader110.class.php Wed Jul 11 00:02:40
2012 (r11903)
+++ trunk/lib/task/migrate/arUpgrader110.class.php Wed Jul 11 09:32:10
2012 (r11904)
@@ -271,6 +271,15 @@
QubitMigrate::addTerm($term, $configuration);
}
+ // Accession acquisition type taxonomy and its terms
+ $taxonomy = new QubitTaxonomy;
+ $taxonomy->id = QubitTaxonomy::ACCESSION_ACQUISITION_TYPE_ID;
+ $taxonomy->sourceCulture = 'en';
+ $taxonomyI18n = new QubitTaxonomyI18n;
+ $taxonomyI18n->name = 'Accession acquisition type';
+ $taxonomyI18n->culture = 'en';
+ QubitMigrate::addTaxonomy($taxonomy, $configuration);
+
foreach (array(
'Deposit',
'Gift',
@@ -491,7 +500,7 @@
break;
// Prior to revision 9340 all checksums were md5 and the algorithm was
not
- // recorded
+ // recorded, update checksum_type column
case 64:
$sql = 'UPDATE '.QubitDigitalObject::TABLE_NAME;
$sql += ' SET '.QubitDigitalObject::CHECKSUM_TYPE.' = "md5"';
@@ -500,7 +509,7 @@
break;
- // Add menu node, see also r9373
+ // Add importCsv menu node, see also r9373
case 65:
$node = new QubitMenu;
$node->parentId = QubitMenu::IMPORT_ID;
@@ -588,7 +597,7 @@
$node->moveToPrevSiblingOf($target);
}
- // Update path of plugins ndoe
+ // Update path of plugins node
$node = QubitMenu::getByName('plugins');
$node->path = 'sfPluginAdminPlugin/plugins';
$node->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.