aboutsummaryrefslogtreecommitdiff
path: root/actions/ajax_upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/ajax_upload.php')
-rw-r--r--actions/ajax_upload.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/ajax_upload.php b/actions/ajax_upload.php
index a9743cf54..9aea9c19d 100644
--- a/actions/ajax_upload.php
+++ b/actions/ajax_upload.php
@@ -45,7 +45,10 @@ $image->saveThumbnails($image_lib);
$album->prependImageList(array($image->guid));
-error_log('complete');
+
+if (get_plugin_setting('img_river_view', 'tidypics') === "all") {
+ add_to_river('river/object/image/create', 'create', $image->owner_guid, $image->guid);
+}
echo "1";
exit; \ No newline at end of file