Commit 251c8d85 authored by alexpott's avatar alexpott

Issue #2057137 by legolasbo: Remove Unused local variable $user from...

Issue #2057137 by legolasbo: Remove Unused local variable $user from /core/modules/user/user.module.
parent b44b584d
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
* Implement hook_help(). * Implement hook_help().
*/ */
function user_help($path, $arg) { function user_help($path, $arg) {
global $user;
switch ($path) { switch ($path) {
case 'admin/help#user': case 'admin/help#user':
$output = ''; $output = '';
...@@ -522,7 +520,6 @@ function user_search_access() { ...@@ -522,7 +520,6 @@ function user_search_access() {
* Implements hook_search_execute(). * Implements hook_search_execute().
*/ */
function user_search_execute($keys = NULL, $conditions = NULL) { function user_search_execute($keys = NULL, $conditions = NULL) {
$find = array();
// Replace wildcards with MySQL/PostgreSQL wildcards. // Replace wildcards with MySQL/PostgreSQL wildcards.
$keys = preg_replace('!\*+!', '%', $keys); $keys = preg_replace('!\*+!', '%', $keys);
$query = db_select('users') $query = db_select('users')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment