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 39e7b84fb0
commit 76f5a91c75

View File

@ -1788,7 +1788,7 @@ function calendar_upgrade1_7_002()
'uc' => array('tz_tzid') 'uc' => array('tz_tzid')
)); ));
// import timezone data, throw exception if no PDO sqlite support // 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'; return $GLOBALS['setup_info']['calendar']['currentver'] = '1.7.003';
} }