diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 49c8526e2a..4f8d7463ea 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -440,31 +440,6 @@ switch ($mode)
//
// LITTLE HELPER
-/**
-* Build simple hidden fields from array
-*/
-function build_hidden_fields($field_ary)
-{
- $s_hidden_fields = '';
-
- foreach ($field_ary as $name => $vars)
- {
- if (is_array($vars))
- {
- foreach ($vars as $key => $value)
- {
- $s_hidden_fields .= '';
- }
- }
- else
- {
- $s_hidden_fields .= '';
- }
- }
-
- return $s_hidden_fields;
-}
-
/**
* Get simple topic data
*/