summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-20 19:06:12 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-20 19:06:12 +0000
commitb0be4e7234a77ea7649f3188751adcccb1d83399 (patch)
treed06620f040f62ca26c8ec6c6f74359463a611915 /modules/user/user.module
parentaadc94a102375f3e8656c23cb711097f827be96e (diff)
downloadbrdo-b0be4e7234a77ea7649f3188751adcccb1d83399.tar.gz
brdo-b0be4e7234a77ea7649f3188751adcccb1d83399.tar.bz2
- Patch #300478 by mr.baileys: remove user_load_self() as it is not used.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index ec2d7d0d0..b62efd70d 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -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().
*/