Commit d1540c20 authored by salvis's avatar salvis

#694236: Suppress a harmless but irritating warning from acl_update_6001().

parent af6ba1bf
......@@ -3,6 +3,11 @@ CHANGELOG for ACL for Drupal 6
acl 6.x-1.x-dev:
acl 6.x-1.2 (2010-01-25):
Bugs fixed:
- #694236: Suppress a harmless but irritating warning from acl_update_6001().
acl 6.x-1.1 (2010-01-24):
Bugs fixed:
- #680324: Add missing index if upgraded from D5.
......
......@@ -170,7 +170,7 @@ function acl_update_6000() {
*/
function acl_update_6001() {
$ret = array();
db_add_index($ret, 'acl_node', 'nid', array('nid'));
@db_add_index($ret, 'acl_node', 'nid', array('nid'));
return ($ret['success'] ? $ret : array()); // ignore possible error, if the index already exists
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment