The following code
if (!db_table_exists('date_format') || !db_table_exists('date_format_types')) {
needs an 's' on the 'date_format' table check (I think)
if (!db_table_exists('date_formats') || !db_table_exists('date_format_types')) {
Otherwise, I never leave the "updates pending, please rerun update.php" update routine.
Comments
Comment #1
arla commentedSeems fine and worked for me too in 2.3.
Comment #2
seutje commentedduplicate of #535270: Upgrading from old versions to 6.x-2.4: update.php never finishes
event hough this one is older, the other one is much more comprehensive and even offers a patch