From 251c8d8573ecda0818bd28e1be97bcb820501520 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sat, 3 Aug 2013 23:06:57 +0200 Subject: [PATCH] Issue #2057137 by legolasbo: Remove Unused local variable $user from /core/modules/user/user.module. --- core/modules/user/user.module | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 60da26ced44..0a8d4ab9157 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -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')