Author: mcantelon
Date: Thu Feb 16 10:29:52 2012
New Revision: 10914

Log:
Removing | to newline conversion as I've decided to implement it a different 
way.

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

Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php       Thu Feb 16 10:23:00 
2012        (r10913)
+++ trunk/lib/task/import/csvImportTask.class.php       Thu Feb 16 10:29:52 
2012        (r10914)
@@ -252,32 +252,6 @@
         {
           $self->object->parentId = $parentId;
         }
-
-        // allow "|" to indicate multiple lines
-        $explodeStandardMultilineColumns = array(
-          'acquisition',
-          'extentAndMedium',
-          'arrangement',
-          'relatedUnitsOfDescription',
-          'physicalCharacteristics',
-          'findingAids',
-          'scopeAndContent',
-          'locationOfCopies',
-          'locationOfOriginals',
-          'accessConditions'
-        );
-
-        foreach($explodeStandardMultilineColumns as $column)
-        {
-          if (isset($self->rowStatusVars[$column]))
-          {
-            $value = $self->rowStatusVars[$column];
-            if ($value)
-            {
-              $self->object->$column = str_replace("|", "\n", $value);
-            }
-          }
-        }
       },
 
       /* import logic to execute after saving information object */

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