fix PHP fatal when updating from before 1.8

This commit is contained in:
Ralf Becker 2016-11-15 22:07:18 +01:00
parent 5d6eff31a5
commit 7b56ac1491

View File

@ -1786,7 +1786,7 @@ function calendar_upgrade1_7_002()
'uc' => array('tz_tzid')
));
// import timezone data, throw exception if no PDO sqlite support
calendar_timezones::import_sqlite();
calendar_timezones::import_zones();
return $GLOBALS['setup_info']['calendar']['currentver'] = '1.7.003';
}