/[Grep]/lib/Grep/Action/Search.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Grep/Action/Search.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 108 by dpavlin, Wed Feb 21 19:11:06 2007 UTC revision 109 by dpavlin, Wed Mar 14 18:46:37 2007 UTC
# Line 46  sub take_action { Line 46  sub take_action {
46    
47          return $self->result->error("Need search query") unless ($q);          return $self->result->error("Need search query") unless ($q);
48    
49          my $coll = Grep::Search->collection( $q ) ||          my $search = Grep::Search->new();
50    
51            my $coll = $search->collection( $q ) ||
52                  return $self->result->error("No results");                  return $self->result->error("No results");
53    
54          $self->log->fatal('result not collection but ', dump( $coll ))          $self->log->fatal('result not collection but ', dump( $coll ))

Legend:
Removed from v.108  
changed lines
  Added in v.109

  ViewVC Help
Powered by ViewVC 1.1.26