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 @@
* 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')
......
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