diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 60da26ced44814778ddfe0c8be6d475424962591..0a8d4ab91570c7d22877d64a7e8a099f18edd17f 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -49,8 +49,6 @@ * 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')