fix
This commit is contained in:
parent
fef8fe1ceb
commit
7aedfa089d
1 changed files with 15 additions and 0 deletions
|
|
@ -496,6 +496,7 @@ sub new {
|
|||
_profile => \%profile
|
||||
};
|
||||
$cache->set($userData, 60*60*24);
|
||||
$userData->{_session} = $session;
|
||||
}
|
||||
bless $userData, $class;
|
||||
}
|
||||
|
|
@ -557,6 +558,20 @@ sub referringAffiliate {
|
|||
return $self->{_user}{"referringAffiliate"};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 session ( )
|
||||
|
||||
Returns a reference to the current session.
|
||||
|
||||
=cut
|
||||
|
||||
sub session {
|
||||
my $self = shift;
|
||||
return $self->{_session};
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 status ( [ value ] )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue