Changeset 3703021 in github for index.php


Ignore:
Timestamp:
Oct 7, 2011 6:25:23 AM (20 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
Children:
bf9644b
Parents:
fb40f37
Message:
  • Plugin API: added 'ready' hook (#1488073)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • index.php

    r502436d r3703021  
    215215} 
    216216 
     217// we're ready, user is authenticated and the request is safe 
     218$plugin = $RCMAIL->plugins->exec_hook('ready', array('task' => $RCMAIL->task, 'action' => $RCMAIL->action)); 
     219$RCMAIL->set_task($plugin['task']); 
     220$RCMAIL->action = $plugin['action']; 
     221 
     222 
    217223// handle special actions 
    218224if ($RCMAIL->action == 'keep-alive') { 
Note: See TracChangeset for help on using the changeset viewer.