Ignore:
Timestamp:
12/18/09 11:10:35 (2 years ago)
Author:
CrawfordCurrie
Message:

Item2511: another optimisation; if a plugin states NO_PREFS_IN_TOPIC, then there is no real need to search for the topic, just default to $systemWeb. That means $installWeb may be wrong in the initPlugin call if the plugin was not installed in the System web; but they are never installed anywhere else (AFAIK) so the search is probably pointless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Plugins.pm

    r5810 r5820  
    171171    } 
    172172 
     173    # Uncomment this to monitor plugin load times 
    173174    #Monitor::MARK('About to initPlugins'); 
     175 
    174176    my $user;           # the user login name 
    175177    my $userDefiner;    # the plugin that is defining the user 
     
    200202        } 
    201203        $lookup{$pn} = $p; 
     204 
     205        # Uncomment this to monitor plugin load times 
    202206        #Monitor::MARK($pn); 
    203207    } 
Note: See TracChangeset for help on using the changeset viewer.