mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
e2ac95febf
commit
ac11ed9e8c
1 changed files with 29 additions and 22 deletions
|
@ -8,6 +8,14 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default avatar width/height
|
||||
* @ignore
|
||||
|
@ -216,7 +224,7 @@ function is_topic_locked($bool)
|
|||
*/
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue