Update allbugs() for the hashed database layout (not that anything
currently uses allbugs(), but something might in the future, since the old
static HTML interface provided db/ix/full.html). It's now a trivial wrapper
around getbugs().
- my @bugs = ();
-
- opendir(D, "$debbugs::gSpoolDir/db") or &quitcgi("opendir db: $!");
- @bugs = sort {$a<=>$b} grep s/\.status$//,
- (grep m/^[0-9]+\.status$/,
- (readdir(D)));
- closedir(D);
-
- return @bugs;
+ return @{getbugs(sub { 1 })};