X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Memories%2FPhoto.pm;h=d14619ee03cd0440ba42d354438658a03d368d5c;hb=a1a5f8caa6a6d7af6f3b69fe36300a0d07c53d2d;hp=eef30194cba202444604288434fd44cdf8fd1e67;hpb=41009314e922f5a0d484bf5c8482950a454b08d7;p=memories.git diff --git a/Memories/Photo.pm b/Memories/Photo.pm index eef3019..d14619e 100644 --- a/Memories/Photo.pm +++ b/Memories/Photo.pm @@ -45,7 +45,6 @@ sub do_upload :Exported { my ($self, $r) = @_; my %upload = $r->upload("photo"); - # XXX Stop anonymous uploads! my $photo = $self->create({ uploader => $r->user, uploaded => Time::Piece->new(), @@ -133,6 +132,7 @@ sub exif :Exported {} sub comment :Exported {} sub tagedit :Exported {} sub similar :Exported {} +sub sized :Exported {} use Class::DBI::Plugin::Pager; use Class::DBI::Plugin::AbstractCount;