diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-30 02:12:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-30 02:12:20 +0000 |
commit | 6f59a0482ed182ed3f544ebde84bbcfdcd9b4680 (patch) | |
tree | cd5e07ce01084ade525dae1b168225638e28ac59 /mod/invitefriends/start.php | |
parent | 68f09537fcdb4222947a6c8938e4416bcc47e4ec (diff) | |
download | elgg-6f59a0482ed182ed3f544ebde84bbcfdcd9b4680.tar.gz elgg-6f59a0482ed182ed3f544ebde84bbcfdcd9b4680.tar.bz2 |
Refs #2428 removed some global CONFIG usage in plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7479 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/invitefriends/start.php')
-rw-r--r-- | mod/invitefriends/start.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php index aa08e0583..abba12f20 100644 --- a/mod/invitefriends/start.php +++ b/mod/invitefriends/start.php @@ -9,7 +9,6 @@ * Add menu item for invite friends */ function invitefriends_pagesetup() { - global $CONFIG; if (elgg_get_context() == "friends" || elgg_get_context() == "friendsof" || elgg_get_context() == "collections") { @@ -17,5 +16,5 @@ function invitefriends_pagesetup() { } } -elgg_register_action('invitefriends/invite', $CONFIG->pluginspath . 'invitefriends/actions/invite.php'); +elgg_register_action('invitefriends/invite', elgg_get_plugin_path() . 'invitefriends/actions/invite.php'); elgg_register_event_handler('pagesetup', 'system', 'invitefriends_pagesetup'); |