diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:04:16 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:04:16 +0000 |
commit | 42d890455ae7b6a61a566d174f9980b8faee782f (patch) | |
tree | f5da4e9c5cb9e2656dbbde06ba35dd9dc4d333d4 /mod/defaultwidgets/views/default | |
parent | ba5681722bbb3df247cda8eb3f64c7e040e5bf00 (diff) | |
download | elgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.gz elgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.bz2 |
Replaced $_SESSION['id'] and $_SESSION['guid'] with get_loggedin_userid()
git-svn-id: http://code.elgg.org/elgg/trunk@7143 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/defaultwidgets/views/default')
-rw-r--r-- | mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php | 2 | ||||
-rw-r--r-- | mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php b/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php index 6efcd5b51..b6cc010df 100644 --- a/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php +++ b/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php @@ -7,7 +7,7 @@ **/ // Set admin user for user block -set_page_owner($_SESSION['guid']); +set_page_owner(get_loggedin_userid()); // create the view $time = time(); diff --git a/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php b/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php index 2abbf02e4..bb1f3fbe0 100644 --- a/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php +++ b/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php @@ -7,7 +7,7 @@ **/ // set admin user for user block -set_page_owner($_SESSION['guid']); +set_page_owner(get_loggedin_userid()); // create the view $time = time(); |