On 18.11.2012 00:42, Cor Bosman wrote:

> If you turn on a plugin in the main config, it gets loaded no matter
> what. So you decide to load it or not.  Early in the loading process of
> roundcube it checks the list of plugins, and calls the init() function in
> all plugins.  This happens regardless of skin. My plugin checks the user's
> skin inside the init function, and if it's classic it will not do
> anything. You can easily see this yourself in the source :)

Thanks for this explanation! But apparently I have managed to confuse even
you, because this....

> and if it's classic it will not do anything.

...would be a bad idea for a plugin which is supposed to run with the
classic skin only.

A "not" between "it's" and "classic" would have done the job. ;)

No offense.
-- 
Michael Heydekamp
Co-Admin freexp.de
Düsseldorf/Germany
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to