aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-08-24 22:10:10 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-08-24 22:10:34 -0400
commitd847df717573a55cc6e13211fbe853b4784cf53c (patch)
treec79df8d3e6cd598071818649ace5e875ce48e97b /phpBB/includes
parenta8ffbce99f9ea99bd1fdca0e009001026e2d6950 (diff)
downloadforums-d847df717573a55cc6e13211fbe853b4784cf53c.tar
forums-d847df717573a55cc6e13211fbe853b4784cf53c.tar.gz
forums-d847df717573a55cc6e13211fbe853b4784cf53c.tar.bz2
forums-d847df717573a55cc6e13211fbe853b4784cf53c.tar.xz
forums-d847df717573a55cc6e13211fbe853b4784cf53c.zip
[feature/oauth] A few more minor changes
PHPBB3-11673
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_register.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index 8400e98630..e3a1ac1fb0 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -506,6 +506,12 @@ class ucp_register
$this->page_title = 'UCP_REGISTRATION';
}
+ /**
+ * Creates the login_link data array
+ *
+ * @return array Returns an array of all POST paramaters whose names
+ * begin with 'login_link_'
+ */
protected function get_login_link_data_array()
{
global $request;
@@ -525,6 +531,13 @@ class ucp_register
return $login_link_data;
}
+ /**
+ * Prepends they key names of an associative array with 'login_link_' for
+ * inclusion on the page as hidden fields.
+ *
+ * @param array $data The array to be modified
+ * @return array The modified array
+ */
protected function get_login_link_data_for_hidden_fields($data)
{
$new_data = array();