also use the new bbcode uid generation for the convertor

git-svn-id: file:///svn/phpbb/trunk@8133 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-10-04 12:56:51 +00:00
parent e2ac95febf
commit ac11ed9e8c

View file

@ -8,6 +8,14 @@
* *
*/ */
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/** /**
* Default avatar width/height * Default avatar width/height
* @ignore * @ignore
@ -216,7 +224,7 @@ function is_topic_locked($bool)
*/ */
function make_uid($timestamp) function make_uid($timestamp)
{ {
return substr(md5($timestamp), 0, BBCODE_UID_LEN); return substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);
} }
/** /**
@ -639,7 +647,6 @@ function import_smiley($source, $use_target = false)
} }
/* /*
*
*/ */
function import_avatar($source, $use_target = false, $user_id = false) function import_avatar($source, $use_target = false, $user_id = false)
{ {