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

arla’s picture

Seems fine and worked for me too in 2.3.

seutje’s picture

Status: Active » Closed (duplicate)

duplicate 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