Issue #2057137 by legolasbo: Remove Unused local variable $user from /core/modules/user/user.module.

8.0.x
Alex Pott 2013-08-03 23:06:57 +02:00
parent b44b584d79
commit 251c8d8573
1 changed files with 0 additions and 3 deletions

View File

@ -49,8 +49,6 @@ const USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL = 'visitors_admin_approval'
* Implement hook_help().
*/
function user_help($path, $arg) {
global $user;
switch ($path) {
case 'admin/help#user':
$output = '';
@ -522,7 +520,6 @@ function user_search_access() {
* Implements hook_search_execute().
*/
function user_search_execute($keys = NULL, $conditions = NULL) {
$find = array();
// Replace wildcards with MySQL/PostgreSQL wildcards.
$keys = preg_replace('!\*+!', '%', $keys);
$query = db_select('users')