From 1d3d21b69eafb45c97e283ead86f63e7bf1731dc Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 21:36:21 +0000 Subject: Refs #2463: Removed gratuitous references to $CONFIG->url, etc. in blog - groups plugins git-svn-id: http://code.elgg.org/elgg/trunk@7204 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index 005019060..544024d49 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -291,11 +291,9 @@ * @return string File URL */ function file_url($entity) { - - global $CONFIG; $title = $entity->title; $title = elgg_get_friendly_title($title); - return $CONFIG->url . "pg/file/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title; + return "pg/file/" . $entity->getOwnerEntity()->username . "/read/" . $entity->getGUID() . "/" . $title; } // Make sure test_init is called on initialisation -- cgit v1.2.3