Exemplo n.º 1
0
 /**
  * Is current user following user X?
  *
  * @param int $user_id - user X
  * @return bool
  */
 public function isFollowing($user_id = 0)
 {
     require_once LIBS . 'Friends.php';
     $friends = new Friends();
     return $friends->checkFriends($this, $user_id, 'following');
 }