On 12/21/2015 04:44 PM, Владимир Горпенко wrote: > Hello! > > Is it correct to determine hooks in one plugin and use them from another > plugin?
I'm not sure what do you mean by "determine hooks", but we already have plugins with their hooks used by other plugins. > I am concerned that the plugin object is constructed and desructed many > times. What happens with defined in this object hooks when the object is > destructed? Engine makes sure the plugin is constructed only once. Please, describe your case in more detail. -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
