Changeset 14994 for lang/perl/App-MadEye
- Timestamp:
- 07/01/08 18:13:21 (5 months ago)
- Files:
-
- 1 modified
-
lang/perl/App-MadEye/trunk/lib/App/MadEye.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-MadEye/trunk/lib/App/MadEye.pm
r8250 r14994 43 43 44 44 if (%{$self->{results}}) { 45 $self->run_hook('notify' => $self->{results}); 45 for my $obj ( @{ $self->class_component_hooks->{notify} } ) { 46 my ( $plugin, $method ) = ( $obj->{plugin}, $obj->{method} ); 47 if ($self->_should_run( plugin => $plugin )) { 48 $self->run_hook('notify' => $self->{results}); 49 } 50 } 46 51 } 47 52 … … 73 78 @_ => +{ 74 79 plugin => 1, 75 target => 1,80 target => 0, 76 81 } 77 82 ); … … 84 89 $self, 85 90 +{ 86 target => $args->{target},87 91 plugin => $args->{plugin}, 92 ($args->{target} ? ( target => $args->{target}) : () ), 88 93 } 89 94 ); … … 93 98 return 1; 94 99 } 100 *_should_run = *_should_add_result; 95 101 96 102 sub _load_rule {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)