DON't show notices on new installs

This commit is contained in:
moodler
2006-04-23 04:43:54 +00:00
parent 1f36f2dbc5
commit d5cc30d905
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.");
}
+1 -1
View File
@@ -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.");
}