mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +02: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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user