From ba206b3a2ffd4bb1139fe57d23a97d54560a79f6 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 10 Aug 2010 09:26:12 +0000 Subject: [PATCH] curl now mandatory --- enrol/authorize/db/upgrade.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/enrol/authorize/db/upgrade.php b/enrol/authorize/db/upgrade.php index c6b051a52fb..a5e9d8f4eaa 100644 --- a/enrol/authorize/db/upgrade.php +++ b/enrol/authorize/db/upgrade.php @@ -27,17 +27,6 @@ function xmldb_enrol_authorize_upgrade($oldversion) { //===== 1.9.0 upgrade line ======// - if ($oldversion < 2008020500 && enrol_is_enabled('authorize')) { - require_once($CFG->dirroot.'/enrol/authorize/localfuncs.php'); - if (!check_curl_available()) { - echo $OUTPUT->notification("You are using the authorize.net enrolment plugin for payment handling but cUrl is not available. - PHP must be compiled with cURL+SSL support (--with-curl --with-openssl)"); - } - - /// authorize savepoint reached - upgrade_plugin_savepoint(true, 2008020500, 'enrol', 'authorize'); - } - if ($oldversion < 2008092700) { /// enrol_authorize.transid /// Define index transid (not unique) to be dropped form enrol_authorize