aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-05 05:24:47 +0000
committerlpsolit%gmail.com <>2006-08-05 05:24:47 +0000
commit38c7d0766195d9d84fcd81bc23b9c71bff5bea6d (patch)
treef3688f465408bcccf98c6bf604b3023011dddd2b /sanitycheck.cgi
parented12ad1849d654f8fb710d093c7aaf92f35e56ab (diff)
downloadbugs-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar
bugs-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.gz
bugs-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.bz2
bugs-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.tar.xz
bugs-38c7d0766195d9d84fcd81bc23b9c71bff5bea6d.zip
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-xsanitycheck.cgi22
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
###########################################################################