Ignore:
Timestamp:
11/19/08 15:00:00 (4 years ago)
Author:
CrawfordCurrie
Message:

Item175: port a subset of the standard extensions over to the new namespace to make a working system with mixed TWiki and Foswiki plugins

Location:
trunk/MailerContrib/lib/Foswiki
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/MailerContrib/lib/Foswiki/Contrib/MailerContrib/TopicContext.pm

    r14 r811  
    22# by MailerContrib. 
    33 
    4 sub TWiki::Func::pushTopicContext { 
     4sub Foswiki::Func::pushTopicContext { 
    55    my( $web, $topic ) = @_; 
    6     my $twiki = $TWiki::Plugins::SESSION; 
     6    my $twiki = $Foswiki::Plugins::SESSION; 
    77    my( $web, $topic ) = $twiki->normalizeWebTopicName( @_ ); 
    88    my $old = { 
     
    2020} 
    2121 
    22 sub TWiki::Func::popTopicContext { 
    23     my $twiki = $TWiki::Plugins::SESSION; 
     22sub Foswiki::Func::popTopicContext { 
     23    my $twiki = $Foswiki::Plugins::SESSION; 
    2424    my $old = pop( @{$twiki->{_FUNC_PREFS_STACK}} ); 
    2525    $twiki->{prefs}->restore( $old->{mark}); 
Note: See TracChangeset for help on using the changeset viewer.