DOn't show some notces on new install
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user