Changeset 5820
- Timestamp:
- 12/18/09 11:10:35 (2 years ago)
- Location:
- trunk/core/lib
- Files:
-
- 3 edited
-
Foswiki.pm (modified) (1 diff)
-
Foswiki/Plugin.pm (modified) (3 diffs)
-
Foswiki/Plugins.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki.pm
r5810 r5820 2755 2755 2756 2756 #print STDERR ' ' x $tell,"POP $tag\n"; 2757 Monitor::MARK("Before $tag");2757 #Monitor::MARK("Before $tag"); 2758 2758 my $e = &$tagf( $this, $tag, $args, $topicObject ); 2759 Monitor::MARK("After $tag");2759 #Monitor::MARK("After $tag"); 2760 2760 2761 2761 if ( defined($e) ) { -
trunk/core/lib/Foswiki/Plugin.pm
r5791 r5820 352 352 353 353 Find the web that has the topic for this plugin by searching the 354 {Plugins}{WebSearchPath} 354 {Plugins}{WebSearchPath}. Returns undef if $NO_PREFS_IN_TOPIC=1 355 355 356 356 =cut … … 359 359 my $this = shift; 360 360 361 unless ( $this->{topicWeb} ) {361 unless ( defined( $this->{topicWeb} ) || $this->{no_topic} ) { 362 362 363 363 # Find the plugin topic, if required … … 373 373 } 374 374 } 375 ASSERT( $this->{topicWeb}, $this->{name} ) if DEBUG; 376 } 377 return $this->{topicWeb}; 375 } 376 # If there is no web (probably because NO_PREFS_IN_TOPIC is set) 377 # then default to the system web name. 378 return $this->{topicWeb} || $Foswiki::cfg{SystemWebName}; 378 379 } 379 380 -
trunk/core/lib/Foswiki/Plugins.pm
r5810 r5820 171 171 } 172 172 173 # Uncomment this to monitor plugin load times 173 174 #Monitor::MARK('About to initPlugins'); 175 174 176 my $user; # the user login name 175 177 my $userDefiner; # the plugin that is defining the user … … 200 202 } 201 203 $lookup{$pn} = $p; 204 205 # Uncomment this to monitor plugin load times 202 206 #Monitor::MARK($pn); 203 207 }
Note: See TracChangeset
for help on using the changeset viewer.
