Commit aa5bf1b8 authored by alexpott's avatar alexpott
Browse files

Issue #2008616 by lokapujya, herom, kgoel | andypost: Convert user_uri() to $user->uri().

parent c6794606
......@@ -37,7 +37,6 @@
* },
* admin_permission = "administer user",
* base_table = "users",
* uri_callback = "user_uri",
* label_callback = "user_format_name",
* fieldable = TRUE,
* translatable = TRUE,
......
......@@ -140,15 +140,6 @@ function user_js_alter(&$javascript) {
);
}
/**
* Entity URI callback.
*/
function user_uri($user) {
return new Url('user.view', array(
'user' => $user->id(),
));
}
/**
* Populates $entity->account for each prepared entity.
*
......
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