function _update_user_edit_path in User Tabs 7
3 calls to _update_user_edit_path()
File
- ./
usertabs.module, line 73 - usertabs.module
Code
function _update_user_edit_path(&$path) {
if (substr($path, 0, 5) != 'user/') {
return;
}
$args = explode('/', $path);
if (count($args) > 2 && $args[2] == 'edit') {
$path = str_replace('edit', 'account/edit', $path);
}
}