#934634 by carlos8f: Fix error on update if cache_path table is already present.
parent
9463ec1d40
commit
5b3c6ab595
|
@ -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.';
|
||||
|
|
Loading…
Reference in New Issue