Config an_review_day renamed to an_capture_day.
Inform admin will be expired transactions 2 days ago. Help for an_review and an_capture_day to admins.
This commit is contained in:
@@ -83,6 +83,13 @@ function authorize_upgrade($oldversion=0) {
|
||||
execute_sql("ALTER TABLE {$CFG->prefix}enrol_authorize DROP authcode", false);
|
||||
}
|
||||
|
||||
if ($oldversion < 2006010200) {
|
||||
if (isset($CFG->an_review_day)) { // rename an_review_day
|
||||
set_config('an_capture_day', $CFG->an_review_day);
|
||||
delete_records('config', 'name', 'an_review_day');
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user