aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications')
-rw-r--r--mod/notifications/groups.php2
-rw-r--r--mod/notifications/index.php2
-rw-r--r--mod/notifications/start.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php
index baa8757a8..9b176955a 100644
--- a/mod/notifications/groups.php
+++ b/mod/notifications/groups.php
@@ -15,7 +15,7 @@ gatekeeper();
set_page_owner(get_loggedin_userid());
// Set the context to settings
-set_context('settings');
+elgg_set_context('settings');
// Get the form
$people = array();
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index 0418e6b1d..209de9cd2 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -15,7 +15,7 @@ gatekeeper();
set_page_owner(get_loggedin_userid());
// Set the context to settings
-set_context('settings');
+elgg_set_context('settings');
// Get the form
$people = array();
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index 4d3d2b7ee..d98c475d3 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -61,7 +61,7 @@ function notifications_page_handler($page) {
*/
function notifications_plugin_pagesetup() {
global $CONFIG;
- if (get_context() == 'settings') {
+ if (elgg_get_context() == 'settings') {
add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), "pg/notifications/personal");
if (is_plugin_enabled('groups')) {
add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), "pg/notifications/group");