aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-07-10 20:35:12 -0400
committercash <cash.costello@gmail.com>2012-07-10 20:35:12 -0400
commit8832c48cfb8c54ea5fa13ffd80cfe0395b32967e (patch)
tree299570ee191aa0ff468012404f1d6f1344c72fb9
parent208938ec5a5aa3fc4abb99c9ad82fdbdfe7a27ec (diff)
downloadelgg-8832c48cfb8c54ea5fa13ffd80cfe0395b32967e.tar.gz
elgg-8832c48cfb8c54ea5fa13ffd80cfe0395b32967e.tar.bz2
Fixes #4690 fixes deprecation warning
-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 58502a7e7..38355d25e 100644
--- a/mod/thewire/actions/delete.php
+++ b/mod/thewire/actions/delete.php
@@ -24,7 +24,7 @@ if ($thewire->getSubtype() == "thewire" && $thewire->canEdit()) {
}
// Get owning user
- $owner = get_entity($thewire->getOwner());
+ $owner = get_entity($thewire->getOwnerGUID());
// Delete it
$rowsaffected = $thewire->delete();