[RCD] Hook name change and plugin problem 0.8

A.L.E.C alec at alec.pl
Tue Aug 14 11:19:23 CEST 2012


On 08/14/2012 11:10 AM, Jure Kranjc wrote:
> I have a question about hooks in rc 0.8. We have a plugin depending on
> mailboxes_list hook which is now named storage_folders. Plugins modifies
> the list of avalible folders, so users cannot subscribe to some. When
> function returns an array of folders, RC does't accept that array and
> lists either all of the folders or just the inbox folder. The returned
> array is exactly the same as in version 0.7.2 but RC0.8 refuses to use
> it. Any suggestions?

I don't remember any change besides the name change of this hook. Are
you sure the function is executed?, folders list is cached. Also, do you
return an array 'folders' element or just array of folders?

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl


More information about the dev mailing list