From: moodler Date: Thu, 19 Aug 2004 17:16:29 +0000 (+0000) Subject: To help hackers who already have the table X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3ae11b04bb14bc9e66bb67c699b3ea172a5f53b2;p=moodle.git To help hackers who already have the table --- diff --git a/enrol/paypal/db/mysql.php b/enrol/paypal/db/mysql.php index e3fc4d5e72..6f37388245 100644 --- a/enrol/paypal/db/mysql.php +++ b/enrol/paypal/db/mysql.php @@ -9,7 +9,7 @@ function paypal_upgrade($oldversion=0) { $result = true; if ($oldversion == 0) { - $result = modify_database("$CFG->dirroot/enrol/paypal/db/mysql.sql"); + modify_database("$CFG->dirroot/enrol/paypal/db/mysql.sql"); } return $result; diff --git a/enrol/paypal/db/postgres7.php b/enrol/paypal/db/postgres7.php index 19468eeae5..7650afee18 100644 --- a/enrol/paypal/db/postgres7.php +++ b/enrol/paypal/db/postgres7.php @@ -9,7 +9,7 @@ function paypal_upgrade($oldversion=0) { $result = true; if ($oldversion == 0) { - $result = modify_database("$CFG->dirroot/enrol/paypal/db/postgres7.sql"); + modify_database("$CFG->dirroot/enrol/paypal/db/postgres7.sql"); } return $result;