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/thewire | |
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/thewire')
-rw-r--r-- | mod/thewire/start.php | 5 | ||||
-rw-r--r-- | mod/thewire/views/default/object/thewire.php | 2 |
2 files changed, 2 insertions, 5 deletions
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 "<span class='delete_button'>" . 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'), )) . "</span>"; |