aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-27 02:14:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-27 02:14:56 +0000
commit543e50d2aabfbd3c116cbb670018c66fae535955 (patch)
treed84b51988a755c03f8794e3c11cf38b78015ea65 /engine/classes
parent07a1585f3eee1211aeaf55ea436135f637520102 (diff)
downloadelgg-543e50d2aabfbd3c116cbb670018c66fae535955.tar.gz
elgg-543e50d2aabfbd3c116cbb670018c66fae535955.tar.bz2
moved most of the code for the user hover menu into the new menu system
git-svn-id: http://code.elgg.org/elgg/trunk@7723 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggUser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php
index eca011a36..ff449d601 100644
--- a/engine/classes/ElggUser.php
+++ b/engine/classes/ElggUser.php
@@ -303,10 +303,11 @@ class ElggUser extends ElggEntity
/**
* Determines whether or not this user is a friend of the currently logged in user
*
+ *
* @return true|false
*/
function isFriend() {
- return $this->isFriendsWith(get_loggedin_userid());
+ return $this->isFriendOf(get_loggedin_userid());
}
/**