Author: david
Date: Tue Jul 19 15:34:06 2011
New Revision: 9328

Log:
Cosmetic change

Modified:
   trunk/lib/model/QubitDigitalObject.php

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Tue Jul 19 15:33:06 2011        
(r9327)
+++ trunk/lib/model/QubitDigitalObject.php      Tue Jul 19 15:34:06 2011        
(r9328)
@@ -781,12 +781,11 @@
       return false;
     }
 
-    $infoObjectId = (string) $infoObject->id;
-
     // To keep to a minimum the number of sub-directories in the uploads dir,
     // we break up information object path by using first and second digits of
     // the information object id as sub-directories.
     // e.g. if infoObjectId=3235 then path='uploads/3/2/3235/'
+    $infoObjectId = (string) $infoObject->id;
     $assetPath = 
'/'.$uploadPathRelative.'/'.$infoObjectId[0].'/'.$infoObjectId[1].'/'.$infoObjectId;
 
     return $assetPath;

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