aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/actions/delete.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 13:31:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 13:31:46 +0000
commit944b8f89b8dd87bf444503d0815aa69ed19f599d (patch)
tree6786d1a4cf55f27ca6fa46364da649932b750e7e /mod/thewire/actions/delete.php
parentffd932df92f857a9607b119a0953ee353c422119 (diff)
downloadelgg-944b8f89b8dd87bf444503d0815aa69ed19f599d.tar.gz
elgg-944b8f89b8dd87bf444503d0815aa69ed19f599d.tar.bz2
Fixes #2668 adding getOwnerGUID()
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/actions/delete.php')
-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) {