/[Grep]/bin/reindex.pl
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 /bin/reindex.pl

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

revision 127 by dpavlin, Sun Apr 29 00:16:05 2007 UTC revision 128 by dpavlin, Sun Apr 29 00:48:04 2007 UTC
# Line 18  $|=1; Line 18  $|=1;
18    
19  BEGIN { Jifty->new; };  BEGIN { Jifty->new; };
20    
21  my $coll = Grep::Model::ItemCollection->new( results_are_readable => 1 );  my $system_user = Grep::CurrentUser->superuser;
22    my $coll = Grep::Model::ItemCollection->new( results_are_readable => 1, current_user => $system_user );
23  $coll->unlimit;  $coll->unlimit;
24    
25  print "indexing ", $coll->count, " items ";  print "indexing ", $coll->count, " items ";

Legend:
Removed from v.127  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.26