[pLog-svn] r5388 - plog/branches/lifetype-1.2/class/action/admin

Oscar Renalias oscar at renalias.net
Fri May 11 13:41:50 EDT 2007


>  	I woke up thinking about this.  I think in the case where we want
> to change the bloginfo (and we should probably change the userinfo  
> also)
> we should call register again, because the plugin might do  
> something blog
> or user specific in the register function, right?

Correct.

>  	So, I think we do need to call getPlugins() for each blog.  If we
> are using the singleton _pm or a reference to it, do we need to worry
> about setting the bloginfo and userinfo back to the current blog  
> and user
> after we run through all the blogs?  Maybe that only matters if  
> another
> event is fired later in this same process?  Sounds like a really  
> hard bug
> to find if/when it occurs.

Technically, yes, we should set the BlogInfo and UserInfo context  
back to what they were when we started

Oscar


More information about the pLog-svn mailing list