commit 6cd59ef4dc43afc0babe9433338d72e396414571 Author: Joel Pittet Date: Tue Apr 2 10:06:55 2013 -0700 add removal from #1843788 diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 7330d95..3445c10 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -737,9 +737,9 @@ function user_template_preprocess_default_variables_alter(&$variables) { * * @param array $variables * An associative array containing: - * - account: @todo. - * - profile_access: @todo. - * - uid: @todo. + * - account: The user account to check access for + * (Drupal\user\Plugin\Core\Entity\User). + * - uid: The user uid number. * * Modules that make any changes to variables like 'name' or 'extra' must insure * that the final string is safe to include directly in the output by using @@ -789,17 +789,7 @@ function template_preprocess_username(&$variables) { $variables['link_options']['html'] = TRUE; // Set a default class. $variables['attributes'] = new Attribute(array('class' => array('username'))); -} -/** - * Processes variables for theme_username(). - * - * @see template_preprocess_username() - */ -function template_process_username(&$variables) { - // Finalize the link_options array for passing to the l() function. - // This is done in the process phase so that attributes may be added by - // modules or the theme during the preprocess phase. if (isset($variables['link_path'])) { // $variables['attributes'] contains attributes that should be applied // regardless of whether a link is being rendered or not.