diff options
-rw-r--r-- | modules/system/system.install | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 993bb4981..06fb1009f 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2362,11 +2362,13 @@ function system_update_7052() { */ function system_update_7053() { // Navigation block is now defined in system module. - db_update('block') - ->fields(array('module' => 'system')) - ->condition('module', 'user') - ->condition('delta', 'navigation') - ->execute(); + if (db_table_exists('block')) { + db_update('block') + ->fields(array('module' => 'system')) + ->condition('module', 'user') + ->condition('delta', 'navigation') + ->execute(); + } // Create the same menus as in menu_install(). db_insert('menu_custom') |