DON't show notices on new installs
This commit is contained in:
@@ -24,7 +24,7 @@ function authorize_upgrade($oldversion=0) {
|
||||
execute_sql(" ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX userid(userid) ");
|
||||
}
|
||||
|
||||
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.");
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ function authorize_upgrade($oldversion=0) {
|
||||
modify_database('',"CREATE INDEX prefix_enrol_authorize_userid_idx ON prefix_enrol_authorize (userid);");
|
||||
}
|
||||
|
||||
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