Changeset 14644
- Timestamp:
- 04/19/12 20:58:28 (13 months ago)
- File:
-
- 1 edited
-
branches/Release01x01/core/lib/Foswiki/Func.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/Release01x01/core/lib/Foswiki/Func.pm
r14497 r14644 2482 2482 See also: expandVariablesOnTopicCreation 2483 2483 2484 *Caution:* This function needs all the installed plugins to have gone through initialization. 2485 Never call this function from within an initPlugin handler, bad things happen. 2486 2484 2487 =cut 2485 2488 … … 2487 2490 my ( $text, $topic, $web, $meta ) = @_; 2488 2491 ASSERT($Foswiki::Plugins::SESSION) if DEBUG; 2492 2493 if (DEBUG) { 2494 for ( my $i = 4 ; $i <= 7 ; $i++ ) { 2495 ASSERT( 0, "expandCommonVariables called during registration" ) 2496 if ( ( caller($i) )[3] eq 'Foswiki::Plugin::registerHandlers' ); 2497 } 2498 } 2499 2489 2500 ( $web, $topic ) = _validateWTA( 2490 2501 $web || $Foswiki::Plugins::SESSION->{webName},
Note: See TracChangeset
for help on using the changeset viewer.
