Author: mcantelon
Date: Tue Jan 10 15:36:15 2012
New Revision: 10637

Log:
Changed import so it defaults to publishing imported items.

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

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Tue Jan 10 15:22:09 2012        
(r10636)
+++ trunk/lib/task/csvImportTask.class.php      Tue Jan 10 15:36:15 2012        
(r10637)
@@ -96,7 +96,7 @@
 
     $defaultStatusId = sfConfig::get(
       'app_defaultPubStatus',
-      QubitTerm::PUBLICATION_STATUS_DRAFT_ID
+      QubitTerm::PUBLICATION_STATUS_PUBLISHED_ID
     );
     $defaultStatusTypeId = QubitTerm::STATUS_TYPE_PUBLICATION_ID;
 
@@ -396,7 +396,8 @@
                     'copyrightStatusId' => 306
                   ));
                 } else {
-                  throw new sfException('Copyright holder not specified');
+                  print "\nCOPYRIGHT HOLDER NOT FOUND\n";
+                  // throw new sfException('Copyright holder not specified');
                 }
                 break;
 

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