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:
ethem
2006-01-03 10:23:28 +00:00
parent 023af16e19
commit 241fbcf510
8 changed files with 117 additions and 58 deletions
+7
View File
@@ -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;
}