/[Grep]/lib/Grep/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/Search.pm

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

revision 197 by dpavlin, Fri May 23 22:32:47 2008 UTC revision 198 by dpavlin, Sun Oct 12 11:48:45 2008 UTC
# Line 101  sub add { Line 101  sub add {
101          $uid ||= Jifty->web->current_user->id;          $uid ||= Jifty->web->current_user->id;
102          $doc->{ '_owner_id' } = $uid;          $doc->{ '_owner_id' } = $uid;
103    
104          $self->SUPER::add( $doc );          eval { $self->SUPER::add( $doc ); };
105            $self->log->error( $@ ) if $@;
106    
107    
108          $self->log->debug("added ", $i->id, " for user $uid to index");          $self->log->debug("added ", $i->id, " for user $uid to index");

Legend:
Removed from v.197  
changed lines
  Added in v.198

  ViewVC Help
Powered by ViewVC 1.1.26