function commons_admin_paths_alter in Drupal Commons 7.3
Implements hook_admin_paths_alter().
File
- ./
commons.profile, line 21 - Enables modules and site configuration for a Commons site installation.
Code
function commons_admin_paths_alter(&$paths) {
// Avoid switching between themes when users edit their account.
$paths['user'] = FALSE;
$paths['user/*'] = FALSE;
}