Ignore:
Timestamp:
10/25/09 07:49:40 (3 years ago)
Author:
SvenDowideit
Message:

Item2286: lots of missing calls to Foswiki::finish(), will refactor in trunk - just cleaning in release branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/core/lib/Foswiki/Prefs/PrefsCache.pm

    r1779 r5375  
    3232require Foswiki::Prefs::Parser; 
    3333 
     34#SMELL: I don't know why this is a global - and where it should be undef'd.. 
    3435use vars qw( $parser ); 
    3536 
     
    175176    } 
    176177 
    177     my $parser = new Foswiki::Prefs::Parser(); 
     178    $parser ||= new Foswiki::Prefs::Parser(); 
    178179    $parser->parseText( $meta->text(), $this, '' ); 
    179180    $parser->parseMeta( $meta, $this, '' ); 
Note: See TracChangeset for help on using the changeset viewer.