Tentative de régler le bordel
This commit is contained in:
@@ -206,16 +206,6 @@ function get_group_id($group_name)
|
||||
return $group_mapping['REGISTERED'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the email hash stored in the users table
|
||||
*
|
||||
* Note: Deprecated, calls should directly go to phpbb_email_hash()
|
||||
*/
|
||||
function gen_email_hash($email)
|
||||
{
|
||||
return phpbb_email_hash($email);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a boolean into the appropriate phpBB constant indicating whether the topic is locked
|
||||
*/
|
||||
@@ -1219,7 +1209,8 @@ function get_config()
|
||||
if (is_array($convert->config_schema['table_format']))
|
||||
{
|
||||
$convert_config = array();
|
||||
list($key, $val) = each($convert->config_schema['table_format']);
|
||||
$key = key($convert->config_schema['table_format']);
|
||||
$val = current($convert->config_schema['table_format']);
|
||||
|
||||
do
|
||||
{
|
||||
@@ -1647,11 +1638,6 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting = ACL_NO)
|
||||
case 'insert':
|
||||
switch ($db->get_sql_layer())
|
||||
{
|
||||
case 'mysql':
|
||||
case 'mysql4':
|
||||
$sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary));
|
||||
break;
|
||||
|
||||
case 'sqlite3':
|
||||
case 'mssqlnative':
|
||||
$sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary));
|
||||
|
||||
Reference in New Issue
Block a user