[RCD] [Plugin API] few thoughts

A.L.E.C alec at alec.pl
Thu May 14 17:59:32 CEST 2009

1. Shouldn't 'create_identity' hook be called after 'create_user' (in 

2. E.g. in rcube_user::create() we have:

$data = $rcmail->plugins->exec_hook('create_user', array('user'=>$user, 
'user_name'=>$user_name, 'user_email'=>$user_email));

Do you plan to add possibility to stop function execution after 
executing a hook inside of it?

3. In mail/compose.inc we have now in rcmail_save_attachment function:

'data' => $message->get_part_content($pid),

I think attachments could and should be handled via file pointer.

Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list