Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] r391 - in registry/trunk: app/Config app/Console/Command app/Controller app/Model app/Plugin app/Plugin/Grouper app/Plugin/Grouper/Config app/Plugin/Grouper/Lib app/Plugin/Grouper/Model app/Plugin/Grouper/Model/Datasource app/View/CoInvites lib/Cake/Model/Datasource

Subject: COmanage Developers List

List archive

Re: [comanage-dev] r391 - in registry/trunk: app/Config app/Console/Command app/Controller app/Model app/Plugin app/Plugin/Grouper app/Plugin/Grouper/Config app/Plugin/Grouper/Lib app/Plugin/Grouper/Model app/Plugin/Grouper/Model/Datasource app/View/CoInvites lib/Cake/Model/Datasource


Chronological Thread 
  • From: Scott Koranda <>
  • To: Benn Oshrin <>
  • Cc:
  • Subject: Re: [comanage-dev] r391 - in registry/trunk: app/Config app/Console/Command app/Controller app/Model app/Plugin app/Plugin/Grouper app/Plugin/Grouper/Config app/Plugin/Grouper/Lib app/Plugin/Grouper/Model app/Plugin/Grouper/Model/Datasource app/View/CoInvites lib/Cake/Model/Datasource
  • Date: Mon, 5 Nov 2012 17:34:33 -0600

Hi,

On Mon, Nov 5, 2012 at 5:09 PM, Benn Oshrin
<>
wrote:
> Too late now, but this should have been a separate commit.

Understood.

Thanks,

Scott

>
> -Benn-
>
> On 10/25/12 6:56 PM,
>
> wrote:
>>
>> Modified: registry/trunk/app/Controller/CoInvitesController.php
>> ===================================================================
>> --- registry/trunk/app/Controller/CoInvitesController.php 2012-10-23
>> 23:19:34 UTC (rev 390)
>> +++ registry/trunk/app/Controller/CoInvitesController.php 2012-10-25
>> 22:56:14 UTC (rev 391)
>> @@ -517,10 +517,16 @@
>> $this->Session->setFlash(_txt('er.cop.nf', array($cpid)), '',
>> array(), 'error');
>> }
>>
>> - // Redirect to My Population
>> - $nextPage = array('controller' => 'co_people',
>> - 'action' => 'index',
>> - 'co' => $this->cur_co['Co']['id']);
>> - $this->redirect($nextPage);
>> + $debug = Configure::read('debug');
>> + if(!$debug) {
>> + // Redirect to My Population when no debugging so that
>> + // user sees flash message that email was sent with invitation.
>> + // Otherwise when debugging user will see link to the invitation
>> + // to help debugging and testing.
>> + $nextPage = array('controller' => 'co_people',
>> + 'action' => 'index',
>> + 'co' => $this->cur_co['Co']['id']);
>> + $this->redirect($nextPage);
>> + }
>> }
>> }
>
>



Archive powered by MHonArc 2.6.16.

Top of Page