diff options
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r-- | mod/messages/start.php | 5 |
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 |