Author: david
Date: Mon Oct 10 19:33:32 2011
New Revision: 10013

Log:
Rollback accidental commit in revision 10012

Modified:
   trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php 
Mon Oct 10 19:32:11 2011        (r10012)
+++ trunk/apps/qubit/modules/informationobject/actions/fileListAction.class.php 
Mon Oct 10 19:33:32 2011        (r10013)
@@ -28,12 +28,6 @@
  */
 class InformationObjectFileListAction extends sfAction
 {
-  // Arrays not allowed in class constants
-  public static
-    $NAMES = array(
-      'sortColumn'
-    );
-
   public function execute($request)
   {
     $this->resource = $this->getRoute()->resource;
@@ -42,11 +36,6 @@
       $this->forward404();
     }
 
-    $this->generateReport($request);
-  }
-
-  public function generateReport($request)
-  {
     // Get "file" term in "level of description" taxonomy
     $c2 = new Criteria;
     $c2->addJoin(QubitTerm::ID, QubitTermI18n::ID, Criteria::INNER_JOIN);
@@ -94,7 +83,7 @@
     }
   }
 
-  public static function getLocationString($resource)
+  public function getLocationString($resource)
   {
     $locations = array();
     if (null !== ($physicalObjects = $resource->getPhysicalObjects()))
@@ -108,7 +97,7 @@
     return implode('; ', $locations);
   }
 
-  public static function getCreationDates($resource)
+  public function getCreationDates($resource)
   {
     $creationEvents = $resource->getCreationEvents();
 

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