From e40958a97ddce771ac9a9f2a8473da7ee3e6534f Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 21:38:55 +0000 Subject: 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 --- mod/messages/start.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mod/messages/start.php') 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 -- cgit v1.2.3