aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php5
-rw-r--r--mod/thewire/views/default/object/thewire.php2
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>";