From 5c94048205b6234bab5eac1560c1b5b9e6e74494 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Fri, 13 Apr 2012 17:58:09 -0700 Subject: Fixes #25. Replaced deprecated calls to getObjectOwnerGuid with getOwnerGuid. --- actions/photos/image/ajax_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/photos/image/ajax_upload.php') 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'); -- cgit v1.2.3