application_timezone is allowed to be nil

This commit is contained in:
Brian Lopez 2010-08-06 00:01:09 -07:00
parent 957b0bac1b
commit 99af726a58
1 changed files with 0 additions and 3 deletions

View File

@ -327,9 +327,6 @@ static VALUE rb_mysql_result_each(int argc, VALUE * argv, VALUE self) {
} else if (appTz == sym_utc) { } else if (appTz == sym_utc) {
app_timezone = intern_utc; app_timezone = intern_utc;
} else { } else {
if (!NIL_P(appTz)) {
rb_warn(":application_timezone option must be :utc or :local - defaulting to :local");
}
app_timezone = intern_local; app_timezone = intern_local;
} }