diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-06-23 22:58:41 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-23 22:58:41 +0200 |
commit | c315fc6c891fbeceb20a7370b293cea4645d0193 (patch) | |
tree | eaf1d620251f86b6b321694d46bac4966d353f5a /phpBB/includes/functions_mcp.php | |
parent | bba23f61b334a32faf8c33b62266ae55fa4616a5 (diff) | |
download | forums-c315fc6c891fbeceb20a7370b293cea4645d0193.tar forums-c315fc6c891fbeceb20a7370b293cea4645d0193.tar.gz forums-c315fc6c891fbeceb20a7370b293cea4645d0193.tar.bz2 forums-c315fc6c891fbeceb20a7370b293cea4645d0193.tar.xz forums-c315fc6c891fbeceb20a7370b293cea4645d0193.zip |
[ticket/12612] Prefix get_*_data() with phpbb_ and delete unused global
PHPBB3-12612
Diffstat (limited to 'phpBB/includes/functions_mcp.php')
-rw-r--r-- | phpBB/includes/functions_mcp.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_mcp.php b/phpBB/includes/functions_mcp.php index a3eb4102d8..3614275e99 100644 --- a/phpBB/includes/functions_mcp.php +++ b/phpBB/includes/functions_mcp.php @@ -106,7 +106,7 @@ function phpbb_extra_url() /** * Get simple topic data */ -function get_topic_data($topic_ids, $acl_list = false, $read_tracking = false) +function phpbb_get_topic_data($topic_ids, $acl_list = false, $read_tracking = false) { global $auth, $db, $config, $user; static $rowset = array(); @@ -195,7 +195,7 @@ function get_topic_data($topic_ids, $acl_list = false, $read_tracking = false) /** * Get simple post data */ -function get_post_data($post_ids, $acl_list = false, $read_tracking = false) +function phpbb_get_post_data($post_ids, $acl_list = false, $read_tracking = false) { global $db, $auth, $config, $user; @@ -269,7 +269,7 @@ function get_post_data($post_ids, $acl_list = false, $read_tracking = false) /** * Get simple forum data */ -function get_forum_data($forum_id, $acl_list = 'f_list', $read_tracking = false) +function phpbb_get_forum_data($forum_id, $acl_list = 'f_list', $read_tracking = false) { global $auth, $db, $user, $config, $phpbb_container; @@ -322,9 +322,9 @@ function get_forum_data($forum_id, $acl_list = 'f_list', $read_tracking = false) /** * Get simple pm data */ -function get_pm_data($pm_ids) +function phpbb_get_pm_data($pm_ids) { - global $db, $auth, $config, $user; + global $db; $rowset = array(); |