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/profile/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/profile/start.php') diff --git a/mod/profile/start.php b/mod/profile/start.php index caaf04055..3b97001fb 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -254,8 +254,8 @@ function profile_usericon_hook($hook, $entity_type, $returnvalue, $params){ $filehandler->setFilename("profile/" . $entity->guid . $size . ".jpg"); if ($filehandler->exists()) { - //$url = $CONFIG->url . "pg/icon/$username/$size/$icontime.jpg"; - return elgg_get_site_url() . 'mod/profile/icondirect.php?lastcache='.$icontime.'&joindate=' . $entity->time_created . '&guid=' . $entity->guid . '&size='.$size; + //$url = "pg/icon/$username/$size/$icontime.jpg"; + return 'mod/profile/icondirect.php?lastcache='.$icontime.'&joindate=' . $entity->time_created . '&guid=' . $entity->guid . '&size='.$size; } } } -- cgit v1.2.3