aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-04-13 17:58:09 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-04-13 17:58:09 -0700
commit5c94048205b6234bab5eac1560c1b5b9e6e74494 (patch)
treea91a37d2c91213b71e84ba466885f0d9203de947 /actions
parenta965e8a7bb94d8ac870fd6b773a3aa7949db960a (diff)
downloadelgg-5c94048205b6234bab5eac1560c1b5b9e6e74494.tar.gz
elgg-5c94048205b6234bab5eac1560c1b5b9e6e74494.tar.bz2
Fixes #25. Replaced deprecated calls to getObjectOwnerGuid with getOwnerGuid.
Diffstat (limited to 'actions')
-rw-r--r--actions/photos/image/ajax_upload.php2
-rw-r--r--actions/photos/image/ajax_upload_complete.php2
-rw-r--r--actions/photos/image/upload.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/actions/photos/image/ajax_upload.php b/actions/photos/image/ajax_upload.php
index daa824c42..312bc598c 100644
--- a/actions/photos/image/ajax_upload.php
+++ b/actions/photos/image/ajax_upload.php
@@ -44,7 +44,7 @@ try {
$album->prependImageList(array($image->guid));
if (elgg_get_plugin_setting('img_river_view', 'tidypics') === "all") {
- add_to_river('river/object/image/create', 'create', $image->getObjectOwnerGUID(), $image->getGUID());
+ add_to_river('river/object/image/create', 'create', $image->getOwnerGUID(), $image->getGUID());
}
echo elgg_echo('success');
diff --git a/actions/photos/image/ajax_upload_complete.php b/actions/photos/image/ajax_upload_complete.php
index 6d398b3aa..358a4fc6f 100644
--- a/actions/photos/image/ajax_upload_complete.php
+++ b/actions/photos/image/ajax_upload_complete.php
@@ -41,7 +41,7 @@ if ($images) {
// "added images to album" river
if ($img_river_view == "batch" && $album->new_album == false) {
- add_to_river('river/object/tidypics_batch/create', 'create', $batch->getObjectOwnerGUID(), $batch->getGUID());
+ add_to_river('river/object/tidypics_batch/create', 'create', $batch->getOwnerGUID(), $batch->getGUID());
}
// "created album" river
diff --git a/actions/photos/image/upload.php b/actions/photos/image/upload.php
index b917a1598..cb0a2f90d 100644
--- a/actions/photos/image/upload.php
+++ b/actions/photos/image/upload.php
@@ -68,7 +68,7 @@ foreach ($_FILES['images']['name'] as $index => $value) {
array_push($uploaded_images, $image->getGUID());
if ($img_river_view == "all") {
- add_to_river('river/object/image/create', 'create', $image->getObjectOwnerGUID(), $image->getGUID());
+ add_to_river('river/object/image/create', 'create', $image->getOwnerGUID(), $image->getGUID());
}
}
}
@@ -89,7 +89,7 @@ if (count($uploaded_images)) {
// "added images to album" river
if ($img_river_view == "batch" && $album->new_album == false) {
- add_to_river('river/object/tidypics_batch/create', 'create', $batch->getObjectOwnerGUID(), $batch->getGUID());
+ add_to_river('river/object/tidypics_batch/create', 'create', $batch->getOwnerGUID(), $batch->getGUID());
}
// "created album" river