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

Jon Daley plogworld at jon.limedaley.com
Fri May 11 14:12:20 EDT 2007


 	Ok, I'll fix up the admincleanup and I think now that I understand 
things a little better, I'll know what to do.

On Fri, 11 May 2007, Oscar Renalias wrote:

>
>>  	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
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

Sometimes you can observe a lot by watching.
-- Yogi Berra


More information about the pLog-svn mailing list