From 38c7d0766195d9d84fcd81bc23b9c71bff5bea6d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 5 Aug 2006 05:24:47 +0000 Subject: Bug 305941: Remove profiles.refreshed_when and groups.last_changed - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sanitycheck.cgi | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'sanitycheck.cgi') diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 85b6f5fa2..0a756c3fb 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -821,28 +821,6 @@ BugCheck("bugs INNER JOIN products ON bugs.product_id = products.id " . "WHERE everconfirmed = 0 AND votestoconfirm <= votes", "Bugs that have enough votes to be confirmed but haven't been"); -########################################################################### -# Date checks -########################################################################### - -sub DateCheck { - my $table = shift @_; - my $field = shift @_; - my $dbh = Bugzilla->dbh; - - Status("Checking dates in $table.$field"); - my $c = $dbh->selectrow_array(qq{SELECT COUNT($field) - FROM $table - WHERE $field > NOW()}); - - if ($c) { - Alert("Found $c dates in future"); - } -} - -DateCheck("groups", "last_changed"); -DateCheck("profiles", "refreshed_when"); - ########################################################################### # Control Values ########################################################################### -- cgit v1.2.3-24-g4f1b