diff --git a/bin/OPL-update b/bin/OPL-update index d9da002e66..3da39e296a 100755 --- a/bin/OPL-update +++ b/bin/OPL-update @@ -985,7 +985,7 @@ $dbh->disconnect; if ($ce->{problemLibrary}{showLibraryLocalStats} || $ce->{problemLibrary}{showLibraryGlobalStats}) { print "\nUpdating Library Statistics.\n"; - do $ENV{WEBWORK_ROOT}.'/bin/update-OPL-statistics'; + do $ENV{WEBWORK_ROOT}.'/bin/update-OPL-statistics.pl'; print "\nLoading global statistics (if possible).\n"; do $ENV{WEBWORK_ROOT}.'/bin/load-OPL-global-statistics.pl'; diff --git a/bin/dump-OPL-tables.pl b/bin/dump-OPL-tables.pl index d4ee88bc0f..6767486944 100755 --- a/bin/dump-OPL-tables.pl +++ b/bin/dump-OPL-tables.pl @@ -74,7 +74,6 @@ my $dbpass = $ce->{database_password}; $dbuser = shell_quote($dbuser); -$dbpass = shell_quote($dbpass); $db = shell_quote($db); $ENV{'MYSQL_PWD'}=$dbpass; diff --git a/bin/load-OPL-global-statistics.pl b/bin/load-OPL-global-statistics.pl index ad3bb62abc..d0b2405938 100755 --- a/bin/load-OPL-global-statistics.pl +++ b/bin/load-OPL-global-statistics.pl @@ -68,7 +68,6 @@ $dbh->commit(); $dbuser = shell_quote($dbuser); - $dbpass = shell_quote($dbpass); $db = shell_quote($db); $ENV{'MYSQL_PWD'}=$dbpass; diff --git a/bin/restore-OPL-tables.pl b/bin/restore-OPL-tables.pl index 4c748e5878..a488fa7241 100755 --- a/bin/restore-OPL-tables.pl +++ b/bin/restore-OPL-tables.pl @@ -74,7 +74,6 @@ my $dbpass = $ce->{database_password}; $dbuser = shell_quote($dbuser); -$dbpass = shell_quote($dbpass); $db = shell_quote($db); $ENV{'MYSQL_PWD'}=$dbpass; diff --git a/bin/upload-OPL-statistics.pl b/bin/upload-OPL-statistics.pl index 37004296d3..d1ca9e37ef 100755 --- a/bin/upload-OPL-statistics.pl +++ b/bin/upload-OPL-statistics.pl @@ -46,7 +46,6 @@ print "Dumping local OPL statistics\n"; $dbuser = shell_quote($dbuser); -$dbpass = shell_quote($dbpass); $db = shell_quote($db); $ENV{'MYSQL_PWD'}=$dbpass;