login_https is required in version 2005071601 for security reasons.
This commit is contained in:
@@ -21,9 +21,15 @@ function authorize_upgrade($oldversion=0) {
|
||||
execute_sql(" ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX courseid(courseid) ");
|
||||
execute_sql(" ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX userid(userid) ");
|
||||
}
|
||||
|
||||
|
||||
if ($oldversion < 2005071602) {
|
||||
notify("<b>AUTHORIZE.NET WARNING:</b><br />
|
||||
login_https is required in version 2005071601 for security reasons. <br />
|
||||
Your registered users can't pay for course if you don't setup this. <br />
|
||||
Please don't forget to set up this in section Admin/Variables/Security.");
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -20,6 +20,13 @@ function authorize_upgrade($oldversion=0) {
|
||||
modify_database('',"CREATE INDEX prefix_enrol_authorize_courseid_idx ON prefix_enrol_authorize (courseid);");
|
||||
modify_database('',"CREATE INDEX prefix_enrol_authorize_userid_idx ON prefix_enrol_authorize (userid);");
|
||||
}
|
||||
|
||||
if ($oldversion < 2005071602) {
|
||||
notify("<b>AUTHORIZE.NET WARNING:</b><br />
|
||||
login_https is required in version 2005071601 for security reasons. <br />
|
||||
Your registered users can't pay for course if you don't setup this. <br />
|
||||
Please don't forget to set up this in section Admin/Variables/Security.");
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?PHP // $Id$
|
||||
|
||||
$module->version = 2005071601;
|
||||
$module->version = 2005071602;
|
||||
$module->requires = 2004081800;
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user