mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
DOn't show some notces on new install
This commit is contained in:
parent
0a1cf79f5f
commit
6c3d3b0a97
@ -18,7 +18,7 @@ function enrol_authorize_upgrade($oldversion=0) {
|
||||
execute_sql("ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX userid(userid)", false);
|
||||
}
|
||||
|
||||
if ($oldversion < 2005071602) {
|
||||
if ($oldversion && $oldversion < 2005071602) {
|
||||
notify("If you are using the authorize.net enrolment plugin for credit card
|
||||
handling, please ensure that you have turned loginhttps ON in Admin >> Variables >> Security.");
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ function enrol_authorize_upgrade($oldversion=0) {
|
||||
|
||||
// Authorize module was installed before. Upgrades must be applied to SQL file.
|
||||
|
||||
if ($oldversion < 2005071602) {
|
||||
if ($oldversion && $oldversion < 2005071602) {
|
||||
notify("If you are using the authorize.net enrolment plugin for credit card
|
||||
handling, please ensure that you have turned loginhttps ON in Admin >> Variables >> Security.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user