--- terms_of_use.module 2008-09-17 11:10:12.000000000 -0400 +++ terms_of_use_2.module 2009-07-08 15:48:05.582600000 -0400 @@ -26,21 +26,21 @@ function terms_of_use_menu($may_cache) { 'title' => 'Terms of Use', 'callback' => 'drupal_get_form', 'callback arguments' => array('terms_of_use_admin_settings'), - 'access' => array('administer site configuration'), + 'access' => user_access('administer site configuration'), ); $items[] = array( 'path' => 'node/autocomplete', 'title' => 'Autocomplete node title', 'callback' => 'terms_of_use_autocomplete', - 'access' => array('access content'), + 'access' => user_access('access content'), 'type' => MENU_CALLBACK, ); $items['terms_of_use/js'] = array( 'path' => 'terms_of_use/js', 'callback' => 'terms_of_use_js', - 'access' => array('administer site configuration'), + 'access' => user_access('administer site configuration'), 'type' => MENU_CALLBACK, ); }