diff options
author | lpsolit%gmail.com <> | 2006-08-05 07:24:47 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-05 07:24:47 +0200 |
commit | 38c7d0766195d9d84fcd81bc23b9c71bff5bea6d (patch) | |
tree | f3688f465408bcccf98c6bf604b3023011dddd2b /sanitycheck.cgi | |
parent | ed12ad1849d654f8fb710d093c7aaf92f35e56ab (diff) | |
download | bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.gz bugzilla-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.xz |
Bug 305941: Remove profiles.refreshed_when and groups.last_changed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 85b6f5fa2..0a756c3fb 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -822,28 +822,6 @@ BugCheck("bugs INNER JOIN products ON bugs.product_id = products.id " . "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 ########################################################################### |