diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:15:36 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:15:36 +0000 |
commit | 9255088a79a034c3cdf4eb46124504b9dd0c838e (patch) | |
tree | a225048f7475ea8ddb4820b539f8482655d9da8e /mod/notifications | |
parent | 323e3ee1dafdf7bdd60607fd960e53957fce770d (diff) | |
download | elgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.gz elgg-9255088a79a034c3cdf4eb46124504b9dd0c838e.tar.bz2 |
Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to elgg_get_site_url()
git-svn-id: http://code.elgg.org/elgg/trunk@7146 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications')
-rw-r--r-- | mod/notifications/groups.php | 2 | ||||
-rw-r--r-- | mod/notifications/start.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php index 1c1ad77d2..28f3b9f94 100644 --- a/mod/notifications/groups.php +++ b/mod/notifications/groups.php @@ -26,7 +26,7 @@ $form_body = elgg_view('notifications/subscriptions/groupsform',array('groups' = $body = elgg_view('input/form',array( 'body' => $form_body, 'method' => 'post', - 'action' => $CONFIG->wwwroot . 'action/notificationsettings/groupsave' + 'action' => elgg_get_site_url() . 'action/notificationsettings/groupsave' )); // Insert it into the correct canvas layout diff --git a/mod/notifications/start.php b/mod/notifications/start.php index bdc7f15ff..307cfa936 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -62,9 +62,9 @@ function notifications_page_handler($page) { function notifications_plugin_pagesetup() { global $CONFIG; if (get_context() == 'settings') { - add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), $CONFIG->wwwroot . "pg/notifications/personal"); + add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), elgg_get_site_url() . "pg/notifications/personal"); if (is_plugin_enabled('groups')) { - add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), $CONFIG->wwwroot . "pg/notifications/group"); + add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), elgg_get_site_url() . "pg/notifications/group"); } } } |