function username_enumeration_prevention_delivery_wrapper in Username Enumeration Prevention 7
Converts 403 Access Denied responses to 404 Not Found on user profiles.
1 string reference to 'username_enumeration_prevention_delivery_wrapper'
File
- ./
username_enumeration_prevention.module, line 22 - Main file for the Username Enumeration Prevention.
Code
function username_enumeration_prevention_delivery_wrapper($page_callback_result) {
if ($page_callback_result == MENU_ACCESS_DENIED) {
$page_callback_result = MENU_NOT_FOUND;
}
drupal_deliver_html_page($page_callback_result);
}