aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/actions/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/actions/delete.php b/mod/thewire/actions/delete.php
index 98b5114cc..9b6bf4a99 100644
--- a/mod/thewire/actions/delete.php
+++ b/mod/thewire/actions/delete.php
@@ -17,7 +17,7 @@
if ($thewire->getSubtype() == "thewire" && $thewire->canEdit()) {
// Get owning user
- $owner = get_entity($thewire->getOwner());
+ $owner = $thewire->getOwnerEntity();
// Delete it!
$rowsaffected = $thewire->delete();
if ($rowsaffected > 0) {