diff options
author | Sem <sembrestels@riseup.net> | 2013-09-06 00:25:51 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-09-06 00:25:51 +0200 |
commit | a9263e6304c0e257864cb2b87362be2f1cff1b9c (patch) | |
tree | 1df6d20854fd6f610762a72d4062122ea91399aa /lib | |
parent | b4122be45233bdc67b0d0aec344bc41c4df4fb93 (diff) | |
download | elgg-a9263e6304c0e257864cb2b87362be2f1cff1b9c.tar.gz elgg-a9263e6304c0e257864cb2b87362be2f1cff1b9c.tar.bz2 |
Removed deprecated functions use.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/session.php b/lib/session.php index f0f38f7c9..ccd1e8f4c 100755 --- a/lib/session.php +++ b/lib/session.php @@ -16,7 +16,7 @@ function init() {
global $CFG;
- if (isloggedin()) {
+ if (elgg_is_logged_in()) {
setLoggedInUser(normaliseUsername($_SESSION['user']->username));
} else {
setLoggedInUser(null);
@@ -114,7 +114,7 @@ function isTrusted($identity_url, $trust_root, $return_to) function getLoggedInUser()
{
global $CONFIG;
- if (isloggedin()) {
+ if (elgg_is_logged_in()) {
return $CONFIG->wwwroot.'profile/'.$_SESSION['user']->username;
} else {
return '';
|