function acl_update_6001 in ACL 6
Same name and namespace in other branches
- 7 acl.install \acl_update_6001()
Add index that should have been added when upgrading from D5.
File
- ./
acl.install, line 193 - Install, update and uninstall functions for the acl module.
Code
function acl_update_6001() {
$ret = array();
@db_add_index($ret, 'acl_node', 'nid', array(
'nid',
));
return $ret['success'] ? $ret : array();
// ignore possible error, if the index already exists
}