1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

I don't think we need those

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@8842 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2008-09-11 13:52:22 +00:00
parent 663a961014
commit f9cd8acb4a
2 changed files with 1 additions and 5 deletions

View File

@@ -253,9 +253,6 @@ function bbencode_second_pass($text, $uid)
} // bbencode_second_pass()
// Need to initialize the random numbers only ONCE
mt_srand( (double) microtime() * 1000000);
function make_bbcode_uid()
{
// Unique ID for this message..

View File

@@ -692,8 +692,7 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
$result_array = serialize($store_search_data);
unset($store_search_data);
mt_srand ((double) microtime() * 1000000);
$search_id = mt_rand();
$search_id = crc32(dss_rand());
$sql = "UPDATE " . SEARCH_TABLE . "
SET search_id = $search_id, search_time = $current_time, search_array = '" . str_replace("\'", "''", $result_array) . "'