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/thewire/start.php | 5 +---- mod/thewire/views/default/object/thewire.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'mod/thewire') diff --git a/mod/thewire/start.php b/mod/thewire/start.php index 456917d0c..4031ded42 100644 --- a/mod/thewire/start.php +++ b/mod/thewire/start.php @@ -99,10 +99,7 @@ } function thewire_url($thewirepost) { - - global $CONFIG; - return $CONFIG->url . "pg/thewire/" . $thewirepost->getOwnerEntity()->username; - + return "pg/thewire/" . $thewirepost->getOwnerEntity()->username; } /** diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php index df30f4f1e..9e59596ac 100644 --- a/mod/thewire/views/default/object/thewire.php +++ b/mod/thewire/views/default/object/thewire.php @@ -36,7 +36,7 @@ if (isset($vars['entity'])) { // if the user looking at thewire post can edit, show the delete link if ($vars['entity']->canEdit()) { echo "" . elgg_view("output/confirmlink",array( - 'href' => elgg_get_site_url() . "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(), + 'href' => "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), )) . ""; -- cgit v1.2.3