mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12612] Prefix show_profile() with phpbb and delete unused global
PHPBB3-12612
This commit is contained in:
@@ -1448,9 +1448,9 @@ function phpbb_gen_download_links($param_key, $param_val, $phpbb_root_path, $php
|
||||
/**
|
||||
* Prepare profile data
|
||||
*/
|
||||
function show_profile($data, $user_notes_enabled = false, $warn_user_enabled = false)
|
||||
function phpbb_show_profile($data, $user_notes_enabled = false, $warn_user_enabled = false)
|
||||
{
|
||||
global $config, $auth, $template, $user, $phpEx, $phpbb_root_path, $phpbb_dispatcher;
|
||||
global $config, $auth, $user, $phpEx, $phpbb_root_path, $phpbb_dispatcher;
|
||||
|
||||
$username = $data['username'];
|
||||
$user_id = $data['user_id'];
|
||||
|
Reference in New Issue
Block a user