#934634 by carlos8f: Fix error on update if cache_path table is already present.

merge-requests/26/head
Angie Byron 2010-11-22 07:02:58 +00:00
parent 9463ec1d40
commit 5b3c6ab595
1 changed files with 3 additions and 0 deletions

View File

@ -466,6 +466,9 @@ function update_fix_d7_requirements() {
db_add_index('system', 'system_list', array('weight', 'name'));
// Add the cache_path table.
if (db_table_exists('cache_path')) {
db_drop_table('cache_path');
}
require_once('./modules/system/system.install');
$schema['cache_path'] = system_schema_cache_7054();
$schema['cache_path']['description'] = 'Cache table used for path alias lookups.';