Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
961708cf
Commit
961708cf
authored
May 15, 2012
by
Tim Plunkett
Browse files
format_username() was renamed to user_format_name().
parent
dc686f04
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user/views_handler_field_user_name.inc
View file @
961708cf
...
...
@@ -75,7 +75,7 @@ function render_link($data, $values) {
}
// If we want a formatted username, do that.
if
(
!
empty
(
$this
->
options
[
'format_username'
]))
{
return
format_
user
name
(
$account
);
return
user_
format_name
(
$account
);
}
// Otherwise, there's no special handling, so return the data directly.
return
$data
;
...
...
modules/user/views_plugin_argument_validate_user.inc
View file @
961708cf
...
...
@@ -122,7 +122,7 @@ function validate_argument($argument) {
}
$this
->
argument
->
argument
=
$account
->
uid
;
$this
->
argument
->
validated_title
=
check_plain
(
format_
user
name
(
$account
));
$this
->
argument
->
validated_title
=
check_plain
(
user_
format_name
(
$account
));
return
TRUE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment