Commit 928b0163 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not return imported images in listimages; needs more thought.

parent 09f22397
......@@ -3946,6 +3946,11 @@ sub ListImages($)
my @result = ();
foreach my $image (@images) {
# Do not include imported images in this list, user cannot delete them.
# Need to think about this.
if (!$image->IsLocal());
my $image_urn = GeniHRN::Generate($OURDOMAIN, "image",
$image->pid() . "//" . $image->imagename());
my $image_url = "$TBBASE/image_metadata.php?uuid=" . $image->uuid();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment