From bd01f2be9e8360e147ff5e08ce1a6d706b0dc5f5 Mon Sep 17 00:00:00 2001 From: "tara%tequilarista.org" <> Date: Fri, 20 Apr 2001 00:19:05 +0000 Subject: landing final patch for bug 76261 --- duplicates.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'duplicates.cgi') diff --git a/duplicates.cgi b/duplicates.cgi index 03a366763..fbd2af7d6 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -69,18 +69,18 @@ PutHeader("Most Frequently Reported Bugs"); # Open today's record of dupes my $today = &days_ago(0); -if (-e "data/mining/dupes$today.db") +if () { - dbmopen(%dbmcount, "data/mining/dupes$today", 0644) || + dbmopen(%dbmcount, "data/duplicates/dupes$today", 0644) || &die_politely("Can't open today's dupes file: $!"); } else { # Try yesterday's, then (in case today's hasn't been created yet) $today = &days_ago(1); - if (-e "data/mining/dupes$today.db") + if () { - dbmopen(%dbmcount, "data/mining/dupes$today", 0644) || + dbmopen(%dbmcount, "data/duplicates/dupes$today", 0644) || &die_politely("Can't open yesterday's dupes file: $!"); } else @@ -107,9 +107,9 @@ while (($key, $value) = each %count) # Try and open the database from "changedsince" days ago $before = &days_ago($changedsince); -if (-e "data/mining/dupes$before.db") +if () { - dbmopen(%before, "data/mining/dupes$before", 0644) && ($dobefore = 1); + dbmopen(%before, "data/duplicates/dupes$before", 0644) && ($dobefore = 1); } print Param("mostfreqhtml"); -- cgit v1.2.3-24-g4f1b