Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r436 - registry/trunk/app/Controller

Subject: COmanage Developers List

List archive

[comanage-dev] r436 - registry/trunk/app/Controller


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r436 - registry/trunk/app/Controller
  • Date: Tue, 5 Feb 2013 15:34:23 -0500

Author: marie
Date: 2013-02-05 15:34:23 -0500 (Tue, 05 Feb 2013)
New Revision: 436

Modified:
registry/trunk/app/Controller/CoGroupMembersController.php
Log:
co477 refactor redirects

Modified: registry/trunk/app/Controller/CoGroupMembersController.php
===================================================================
--- registry/trunk/app/Controller/CoGroupMembersController.php 2013-02-05
20:21:58 UTC (rev 435)
+++ registry/trunk/app/Controller/CoGroupMembersController.php 2013-02-05
20:34:23 UTC (rev 436)
@@ -138,6 +138,9 @@

if($this->restful)
$this->requires_co = false;
+
+ // Sets tab to open for redirects back to tabbed pages
+ $this->redirectTab = 'email';
}

/**
@@ -223,23 +226,7 @@

return(true);
}
-
- /**
- * Delete a CO Group Members Object
- * - precondition: <id> must exist
- * - postcondition: Session flash message updated (HTML) or HTTP status
returned (REST)
- * - postcondition: On success, all related data (any table with an
<object>_id column) is deleted
- *
- * @since COmanage Registry v0.7
- * @param integer Object identifier (eg: cm_co_groups:id) representing
object to be deleted
- */
-
- function delete($id) {
- $this->redirectTab = 'group';

- parent::delete($id);
- }
-
/**
* Authorization for this Controller, called by Auth component
* - precondition: Session.Auth holds data used for authz decisions



  • [comanage-dev] r436 - registry/trunk/app/Controller, svnlog, 02/05/2013

Archive powered by MHonArc 2.6.16.

Top of Page