Commit b0be4e72 authored by Dries's avatar Dries

- Patch #300478 by mr.baileys: remove user_load_self() as it is not used.

parent aadc94a1
......@@ -1419,11 +1419,6 @@ function user_cancel_access($account) {
return ((($GLOBALS['user']->uid == $account->uid) && user_access('cancel account')) || user_access('administer users')) && $account->uid > 0;
}
function user_load_self($arg) {
$arg[1] = user_load($GLOBALS['user']->uid);
return $arg;
}
/**
* Implements hook_menu().
*/
......
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