From 19c48f129c4b30a3a73d10d95412adaa255b757d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 22 Dec 2005 05:41:58 +0000 Subject: [PATCH] r654: No longer need fetch_user_display_name() [functions.php] --- includes/functions.php | 18 ------------------ includes/functions_datastore.php | 1 - includes/init.php | 1 - 3 files changed, 20 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 8d17bc1..8f62a2c 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -10,24 +10,6 @@ || ################################################################### || \*=====================================================================*/ -// ################## Start fetch_user_display_name ################## -// preps a dispaly name if one isn't set -// should be able to be removed by the final version as registration should set this -function fetch_user_display_name(&$userinfo) -{ - global $bugsys; - - if (!$userinfo['displayname']) - { - $userinfo['displayname'] = ucwords(trim(str_replace(array('@', '.com', '.net', '.edu', '.org', '.info', '.biz'), ' ', $userinfo['email']))); - } - - if (!$userinfo['userid']) - { - $userinfo['displayname'] = $bugsys->lang->string('Guest'); - } -} - // ################## Start construct_option_select ################## // creates a