Rename Pingback.pm to VersionCheck.pm.

This commit is contained in:
Daniel Nichter
2013-02-11 19:02:59 -07:00
parent c02844a9d6
commit b6bd78d205
21 changed files with 159 additions and 163 deletions

View File

@@ -28,7 +28,7 @@ BEGIN {
MySQLConfigComparer
ReportFormatter
HTTPMicro
Pingback
VersionCheck
));
}
@@ -4349,15 +4349,15 @@ if ( $INC{"IO/Socket/SSL.pm"} ) {
# ###########################################################################
# ###########################################################################
# Pingback package
# VersionCheck package
# This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at,
# lib/Pingback.pm
# t/lib/Pingback.t
# lib/VersionCheck.pm
# t/lib/VersionCheck.t
# See https://launchpad.net/percona-toolkit for more information.
# ###########################################################################
{
package Pingback;
package VersionCheck;
use strict;
use warnings FATAL => 'all';
@@ -4950,7 +4950,7 @@ sub _d {
1;
}
# ###########################################################################
# End Pingback package
# End VersionCheck package
# ###########################################################################
# ###########################################################################
@@ -4991,7 +4991,7 @@ sub main {
if ( @ARGV < 1 ) {
$o->save_error("Specify at least one file or DSN on the command line");
}
Pingback::validate_options($o);
VersionCheck::validate_options($o);
}
$o->usage_or_errors();
@@ -5068,7 +5068,7 @@ sub main {
# Do the version-check
# ########################################################################
if ( $o->get('version-check') ne 'off' && (!$o->has('quiet') || !$o->get('quiet')) ) {
Pingback::version_check(
VersionCheck::version_check(
instances => [ map({ +{ dbh => $_->dbh, dsn => $_->dsn } } @cxn) ],
protocol => $o->get('version-check'),
);