Ignore:
Timestamp:
01/27/12 05:14:49 (4 months ago)
Author:
PaulHarvey
Message:

Item11431: add ASSERTs for SINGLE_SINGLETONS

Conflicts:

lib/Foswiki.pm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x01/core/lib/Foswiki/Plugins.pm

    r12169 r13836  
    225225    # Set the session for this call stack 
    226226    local $Foswiki::Plugins::SESSION = $this->{session}; 
     227    ASSERT( $Foswiki::Plugins::SESSION->isa('Foswiki') ) if DEBUG; 
    227228 
    228229    foreach my $plugin ( @{ $this->{plugins} } ) { 
     
    247248    # Set the session for this call stack 
    248249    local $Foswiki::Plugins::SESSION = $this->{session}; 
     250    ASSERT( $Foswiki::Plugins::SESSION->isa('Foswiki') ) if DEBUG; 
    249251 
    250252    foreach my $plugin ( @{ $this->{plugins} } ) { 
     
    326328        # Set the value of $SESSION for this call stack 
    327329        local $SESSION = $this->{session}; 
     330        ASSERT( $Foswiki::Plugins::SESSION->isa('Foswiki') ) if DEBUG; 
    328331 
    329332        # apply handler on the remaining list of args 
Note: See TracChangeset for help on using the changeset viewer.