diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 02:13:36 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 02:13:36 +0000 |
commit | db7b497114329dda5f560198884c5bc5fbb3c1a8 (patch) | |
tree | 35ac7546fe14a8dd372e74d823ede01e24424443 /views/default/page_elements | |
parent | 6307e6af3b4a717011570e71b844c4b1e366fae5 (diff) | |
download | elgg-db7b497114329dda5f560198884c5bc5fbb3c1a8.tar.gz elgg-db7b497114329dda5f560198884c5bc5fbb3c1a8.tar.bz2 |
Fixes #2128 - replaces all uses of set_context() and get_context() in core and plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7215 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r-- | views/default/page_elements/content_header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/page_elements/content_header.php b/views/default/page_elements/content_header.php index b1a89fdfc..12e4eec44 100644 --- a/views/default/page_elements/content_header.php +++ b/views/default/page_elements/content_header.php @@ -68,7 +68,7 @@ if (isloggedin()) { $tab_list = ''; } else { // @todo remove the hard coded reference to the videolist plugin - if (get_context() == "videolist"){ + if (elgg_get_context() == "videolist"){ $video_link = elgg_get_site_url() . "pg/videolist/browse/$username/"; $new_button = "<a href=\"{$video_link}\" class='action_button'>" . elgg_echo('videolist:browsemenu') . '</a>'; } else { @@ -80,7 +80,7 @@ if (isloggedin()) { // also hide the tabs if in a group context (ie, listing groups) or // when viewing tools belonging to a group - if (get_context() == 'groups' || $page_owner instanceof ElggGroup) { + if (elgg_get_context() == 'groups' || $page_owner instanceof ElggGroup) { $tab_list = ''; } } |