DOn't show some notces on new install

This commit is contained in:
moodler 2006-04-23 04:45:20 +00:00
parent 0a1cf79f5f
commit 6c3d3b0a97
2 changed files with 2 additions and 2 deletions

View File

@ -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.");
}

View File

@ -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.");
}