Commit 961708cf authored by tim.plunkett's avatar tim.plunkett
Browse files

format_username() was renamed to user_format_name().

parent dc686f04
......@@ -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_username($account);
return user_format_name($account);
}
// Otherwise, there's no special handling, so return the data directly.
return $data;
......
......@@ -122,7 +122,7 @@ function validate_argument($argument) {
}
$this->argument->argument = $account->uid;
$this->argument->validated_title = check_plain(format_username($account));
$this->argument->validated_title = check_plain(user_format_name($account));
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment