Skip to content

Commit

Permalink
DON't show notices on new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 23, 2006
1 parent 1f36f2d commit d5cc30d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion enrol/authorize/db/mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand Down
2 changes: 1 addition & 1 deletion enrol/authorize/db/postgres7.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand Down

0 comments on commit d5cc30d

Please sign in to comment.