diff options
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php index a915ae0b4..a514a119c 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -16,7 +16,7 @@ function user_remove($uid) { q("DELETE FROM `profile` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `profile_check` WHERE `uid` = %d", intval($uid)); q("DELETE FROM `user` WHERE `uid` = %d", intval($uid)); - if($uid == get_uid()) { + if($uid == local_user()) { unset($_SESSION['authenticated']); unset($_SESSION['uid']); killme(); |