aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 14:53:40 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 14:53:40 -0400
commit2893bbf881b1bdca005b4751fbb4e7e1c52f31f8 (patch)
treec81e520b53a6126be9178d945ff829f80961e4fd /classes
parent3639cba1b20c4227def597e67274a184d1ea87d7 (diff)
downloadelgg-2893bbf881b1bdca005b4751fbb4e7e1c52f31f8.tar.gz
elgg-2893bbf881b1bdca005b4751fbb4e7e1c52f31f8.tar.bz2
removed deprecated functions
Diffstat (limited to 'classes')
-rw-r--r--classes/TidypicsImage.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php
index 9081bc1fe..672a0df20 100644
--- a/classes/TidypicsImage.php
+++ b/classes/TidypicsImage.php
@@ -380,21 +380,21 @@ class TidypicsImage extends ElggFile {
//delete standard thumbnail image
if ($thumbnail) {
$delfile = new ElggFile();
- $delfile->owner_guid = $this->getOwner();
+ $delfile->owner_guid = $this->getOwnerGUID();
$delfile->setFilename($thumbnail);
$delfile->delete();
}
//delete small thumbnail image
if ($smallthumb) {
$delfile = new ElggFile();
- $delfile->owner_guid = $this->getOwner();
+ $delfile->owner_guid = $this->getOwnerGUID();
$delfile->setFilename($smallthumb);
$delfile->delete();
}
//delete large thumbnail image
if ($largethumb) {
$delfile = new ElggFile();
- $delfile->owner_guid = $this->getOwner();
+ $delfile->owner_guid = $this->getOwnerGUID();
$delfile->setFilename($largethumb);
$delfile->delete();
}