From: Chris S. <too...@ph...> - 2009-07-18 10:12:50
|
Author: toonarmy Date: Sat Jul 18 10:12:17 2009 New Revision: 9778 Log: Remove redundant SQL query from ucp.php. #40305 Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html branches/phpBB-3_0_0/phpBB/ucp.php Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html (original) --- branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html Sat Jul 18 10:12:17 2009 *************** *** 161,166 **** --- 161,167 ---- <li>[Fix] Hide profile-icon from viewtopic-page if user has no permissions (subsilver2 only) (Bug #37635 - Patch by leviatan21)</li> <li>[Fix] Correct escaping/unescaping in the LDAP authentication plugin. (Bug #48175)</li> <li>[Fix] Add hard limit for smilies.</li> + <li>[Fix] Remove redundant SQL query from ucp.php. (Bug #40305)</li> <li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li> <li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li> <li>[Change] Template engine now permits to a limited extent variable includes.</li> Modified: branches/phpBB-3_0_0/phpBB/ucp.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/ucp.php (original) --- branches/phpBB-3_0_0/phpBB/ucp.php Sat Jul 18 10:12:17 2009 *************** *** 215,225 **** $auth->acl_cache($user->data); - $sql = 'UPDATE ' . USERS_TABLE . " - SET user_perm_from = 0 - WHERE user_id = " . $user->data['user_id']; - $db->sql_query($sql); - $sql = 'SELECT username FROM ' . USERS_TABLE . ' WHERE user_id = ' . $user->data['user_perm_from']; --- 215,220 ---- |