]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery2: Removed auto-generated comment at the top of gallery.list
authorMartin Mares <mj@ucw.cz>
Wed, 26 Dec 2012 13:48:01 +0000 (14:48 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:09 +0000 (21:14 +0100)
Without the comment, line numbers correspond to photo numbers,
which is nice.

gal2/UCW/Gallery.pm

index f97ddd8bc4332e9bb3fafc1848471291c417a1cd..c8bdc68a5fd52f45e46ae682889fc552714084cf 100644 (file)
@@ -83,7 +83,6 @@ sub RequireThumbnails($$) {
 sub WriteList($$) {
        my ($file, $images) = @_;
        open LIST, '>', "$file.new" or die "Cannot create $file.new: $!\n";
-       print LIST "# Image\tID\tRotate\tXform\tTitle\n";
        for my $i (@$images) {
                print LIST join("\t",
                        $i->{file},