From 2932918effa51f9689cabe38b758e44435d08e96 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 14 Jun 2009 20:37:08 +0000 Subject: close to final version of river entries - commented out cover from image view and added option for album to show multiple photos --- actions/upload.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actions/upload.php') diff --git a/actions/upload.php b/actions/upload.php index e7c78c178..2e33d67db 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -55,7 +55,7 @@ $not_uploaded = array(); $error_msgs = array(); - $river_view = get_plugin_setting('river_view', 'tidypics'); + $img_river_view = get_plugin_setting('img_river_view', 'tidypics'); $accepted_formats = array( 'image/jpeg', @@ -197,7 +197,7 @@ // update user/group size for checking quota $image_repo_size += $sent_file['size']; - if($river_view == "all") { + if($img_river_view == "all") { add_to_river('river/object/image/create', 'create', $file->getObjectOwnerGUID(), $file->getGUID()); } unset($file); // may not be needed but there seems to be a memory leak @@ -232,7 +232,7 @@ $album->new_album = TP_OLD_ALBUM; } - if(count($uploaded_images) && $river_view == "1") { + if(count($uploaded_images) && $img_river_view == "1") { if (function_exists('add_to_river')) { add_to_river('river/object/image/create', 'create', $file_for_river->getObjectOwnerGUID(), $file_for_river->getGUID()); } -- cgit v1.2.3