You can use the new 'render_page' (#1) or the 'startup' (#2) hook.

#1: if($p['template'] == 'login') { // do something }
#2: if(isset($_GET['_logout'])) { // do something }

Regards,
Roland


On Thu, 09 Jul 2009 21:38:58 +0300, Kristaps Kūlis
<[email protected]> wrote:
> Hello!
>  I propose adding logout hook, which would be at logout.
>  Main reasons:
>   a)Cleanup for arbitary resources, like implementing moving old mail to
> custom IMAP folders / cleanup of mail.
>   b)Redirect to another page after logout .
> 
> -- 
> Kristaps Kūlis,
> SigmaNet,
> e-mail: [email protected],
> http://www.sigmanet.lv
> 
> 
> 
> 
> 
>  --- 8< --- detachments --- 8< ---
>  The following attachments have been detached and are available for
>  viewing.
>   http://detached.gigo.com/rc/Y5/NVDWNhjM/signature.asc
>  Only click these links if you trust the sender, as well as this
message.
>  --- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to