aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:38:55 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 21:38:55 +0000
commite40958a97ddce771ac9a9f2a8473da7ee3e6534f (patch)
tree2e11cad9676db5a0421b3aa98a570cd78a83cbf2 /mod/messages/start.php
parent1d3d21b69eafb45c97e283ead86f63e7bf1731dc (diff)
downloadelgg-e40958a97ddce771ac9a9f2a8473da7ee3e6534f.tar.gz
elgg-e40958a97ddce771ac9a9f2a8473da7ee3e6534f.tar.bz2
Fixes #2463: Removed gratuitous references to $CONFIG->url, etc. from the rest of the plugins.
git-svn-id: http://code.elgg.org/elgg/trunk@7205 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r--mod/messages/start.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index fcf3afde9..de8f42e51 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -274,10 +274,7 @@ function messages_page_handler($page) {
}
function messages_url($message) {
-
- global $CONFIG;
- return $CONFIG->url . "pg/messages/" . $message->getOwnerEntity()->username . "/read/" . $message->getGUID();
-
+ return "pg/messages/" . $message->getOwnerEntity()->username . "/read/" . $message->getGUID();
}
// A simple function to count the number of messages that are unread in a user's inbox