Author: peter
Date: 2008-11-07 09:39:26 -0800 (Fri, 07 Nov 2008)
New Revision: 1532
Removed:
trunk/qubit/apps/qubit/modules/actor/actions/deleteInformationObjectRelationAction.class.php
Log:
delete deprecated class
Deleted:
trunk/qubit/apps/qubit/modules/actor/actions/deleteInformationObjectRelationAction.class.php
===================================================================
---
trunk/qubit/apps/qubit/modules/actor/actions/deleteInformationObjectRelationAction.class.php
2008-11-07 00:56:41 UTC (rev 1531)
+++
trunk/qubit/apps/qubit/modules/actor/actions/deleteInformationObjectRelationAction.class.php
2008-11-07 17:39:26 UTC (rev 1532)
@@ -1,44 +0,0 @@
-<?php
-
-/*
- * This file is part of the Qubit Toolkit.
- * Copyright (C) 2006-2008 Peter Van Garderen <[EMAIL PROTECTED]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-class ActorDeleteInformationObjectRelationAction extends sfAction
-{
- public function execute($request)
- {
- $this->deleteInformationObjectRelation =
QubitInformationObjectActorRelation::getById($this->getRequestParameter('InformationObjectRelationId'));
-
- $this->forward404Unless($this->deleteInformationObjectRelation);
-
- $informationObjectId =
$this->deleteInformationObjectRelation->getInformationObjectId();
- $actor_id = $this->deleteInformationObjectRelation->getActorId();
-
- $this->deleteInformationObjectRelation->delete();
-
- SearchIndex::updateIndexDocument($informationObjectId);
-
- if (strlen($returnTemplate = $this->getRequestParameter('returnTemplate'))
== 0)
- {
- $returnTemplate = sfConfig::get('app_default_template_actor_edit');
- }
-
- return $this->redirect('actor/'.$returnTemplate.'/?id='.$actor_id);
- }
-}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---