diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 21:38:55 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 21:38:55 +0000 |
commit | e40958a97ddce771ac9a9f2a8473da7ee3e6534f (patch) | |
tree | 2e11cad9676db5a0421b3aa98a570cd78a83cbf2 /mod/profile/start.php | |
parent | 1d3d21b69eafb45c97e283ead86f63e7bf1731dc (diff) | |
download | elgg-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/profile/start.php')
-rw-r--r-- | mod/profile/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } } |