Permalink
Browse files

DON't show notices on new installs

  • Loading branch information...
moodler
moodler committed Apr 23, 2006
1 parent 1f36f2d commit d5cc30d90508d386955396664f6fcb1d39bf9709
Showing with 2 additions and 2 deletions.
  1. +1 −1 enrol/authorize/db/mysql.php
  2. +1 −1 enrol/authorize/db/postgres7.php
@@ -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.");
}

0 comments on commit d5cc30d

Please sign in to comment.