/[pxelator]/lib/PXElator/store.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/PXElator/store.pm

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

revision 485 by dpavlin, Sat Jan 23 19:46:19 2010 UTC revision 492 by dpavlin, Mon Jan 25 17:55:55 2010 UTC
# Line 60  sub audit { Line 60  sub audit {
60  }  }
61    
62    
63    sub query {
64            my $callback = shift;
65            my $cursor = $audit->query->sort({ '$natural' => -1 })->limit( 100 );
66            while( my $o = $cursor->next ) {
67                    $callback->( $o );
68            }
69    }
70    
71  1;  1;

Legend:
Removed from v.485  
changed lines
  Added in v.492

  ViewVC Help
Powered by ViewVC 1.1.26