mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12612] Prefix get_*_data() with phpbb_ and delete unused global
PHPBB3-12612
This commit is contained in:
@@ -33,7 +33,7 @@ function mcp_post_details($id, $mode, $action)
|
||||
$start = request_var('start', 0);
|
||||
|
||||
// Get post data
|
||||
$post_info = get_post_data(array($post_id), false, true);
|
||||
$post_info = phpbb_get_post_data(array($post_id), false, true);
|
||||
|
||||
add_form_key('mcp_post_details');
|
||||
|
||||
@@ -508,7 +508,7 @@ function change_poster(&$post_info, $userdata)
|
||||
$to_username = $userdata['username'];
|
||||
|
||||
// Renew post info
|
||||
$post_info = get_post_data(array($post_id), false, true);
|
||||
$post_info = phpbb_get_post_data(array($post_id), false, true);
|
||||
|
||||
if (!sizeof($post_info))
|
||||
{
|
||||
|
Reference in New Issue
Block a user