When porting the hotlinkprevention plugin, and issue/question came up, and I wanted to mention it.
If I have a plugin that performs an action when enabled/disabled, is there a mechanism to:
1) run the plugin when it is enabled or disabled globally
2) run the plugin for every blog to perform that action when enabling/disabling
3) run the plugins when a new blog is created to perform that action
For example, for the hotlinkprevention plugin, when enabled globally, the plugin should either create an .htaccess file in the root gallery directory, or create an .htaccess in each of the blogs gallery directory.
It looks like right now, there is not event that gets sent when a plugin is enabled globally