Author: peter
Date: 2008-10-21 15:40:58 -0700 (Tue, 21 Oct 2008)
New Revision: 1486

Modified:
   trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
Log:
clean-up code left over after r1485

Modified: 
trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
===================================================================
--- trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php    
2008-10-21 22:37:13 UTC (rev 1485)
+++ trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php    
2008-10-21 22:40:58 UTC (rev 1486)
@@ -70,22 +70,10 @@
         SearchIndex::updateTranslatedLanguages($informationObject);
       }
     }
+
     // return to default edit template
     return 
$this->redirect('repository/'.sfConfig::get('app_default_template_repository_edit').'?id='.$this->repository->getId());
     }
-
-
-
-    //set view template
-    switch ($this->getRequestParameter('template'))
-    {
-      case 'anotherTemplate' :
-        return 
$this->redirect('repository/edit?id='.$repository->getId().'&template=editAnotherTemplate');
-        //default template is ISIAH)
-      case 'isiah' :
-      default :
-        return 
$this->redirect('repository/edit?id='.$repository->getId().'&template=editISIAH');
-    }
   }
 
   public function updateActorAttributes($repository)


--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to