diff --git a/enrol/paypal/db/mysql.php b/enrol/paypal/db/mysql.php index e3fc4d5e723..6f37388245b 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 19468eeae5c..7650afee18d 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;