Author: david
Date: Mon Feb 13 13:43:32 2012
New Revision: 10872

Log:
Pass $connection to all save()'s

Modified:
   trunk/lib/model/QubitDigitalObject.php

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Mon Feb 13 13:42:31 2012        
(r10871)
+++ trunk/lib/model/QubitDigitalObject.php      Mon Feb 13 13:43:32 2012        
(r10872)
@@ -315,7 +315,7 @@
       {
         // If DO is a compound object, then create child objects and set to
         // display as compound object (with pager)
-        $this->createCompoundChildren();
+        $this->createCompoundChildren($connection);
 
         // Set parent digital object to be displayed as compound
         $this->setDisplayAsCompoundObject(1);
@@ -1088,7 +1088,7 @@
    *
    * @return QubitDigitalObject this object
    */
-  public function createCompoundChildren()
+  public function createCompoundChildren($connection = null)
   {
     // Bail out if the imagemagick library is not installed
     if (false === self::hasImageMagick())

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