From 944b8f89b8dd87bf444503d0815aa69ed19f599d Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 20 Nov 2010 13:31:46 +0000 Subject: Fixes #2668 adding getOwnerGUID() git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/actions/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/thewire/actions') 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) { -- cgit v1.2.3