phpBB

Code Changes

File: includes/acp/acp_users.php

  Unmodified   Added   Modified   Removed
Line 24Line 24
	var $u_action;
var $p_master;


	var $u_action;
var $p_master;


	function acp_users(&$p_master)

	function __construct(&$p_master)

	{
$this->p_master = &$p_master;
}

	{
$this->p_master = &$p_master;
}

Line 1882Line 1882
										'user_avatar_width' => $result['avatar_width'],
'user_avatar_height' => $result['avatar_height'],
);

										'user_avatar_width' => $result['avatar_width'],
'user_avatar_height' => $result['avatar_height'],
);

 

/**
* Modify users preferences data before assigning it to the template
*
* @event core.acp_users_avatar_sql
* @var array user_row Array with user data
* @var array result Array with user avatar data to be updated in the DB
* @since 3.2.4-RC1
*/
$vars = array('user_row', 'result');
extract($phpbb_dispatcher->trigger_event('core.acp_users_avatar_sql', compact($vars)));


$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $result) . '


$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $result) . '

Line 2084Line 2095
							'user_sig_bbcode_uid'		=> $bbcode_uid,
'user_sig_bbcode_bitfield' => $bbcode_bitfield,
);

							'user_sig_bbcode_uid'		=> $bbcode_uid,
'user_sig_bbcode_bitfield' => $bbcode_bitfield,
);

 

/**
* Modify user signature before it is stored in the DB
*
* @event core.acp_users_modify_signature_sql_ary
* @var array user_row Array with user data
* @var array sql_ary Array with user signature data to be updated in the DB
* @since 3.2.4-RC1
*/
$vars = array('user_row', 'sql_ary');
extract($phpbb_dispatcher->trigger_event('core.acp_users_modify_signature_sql_ary', compact($vars)));


$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '


$sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '