add user password reset, add series image switch, add image licences, redesign exclude filters

This commit is contained in:
Milan
2018-03-17 13:14:13 +01:00
parent b3f743dee9
commit aadf3fd06e
48 changed files with 1329 additions and 667 deletions

View File

@@ -81,6 +81,17 @@ sub get{
return $studios;
}
sub getImageById{
my $config = shift;
my $conditions = shift;
return undef unless defined $conditions->{project_id};
return undef unless defined $conditions->{studio_id};
my $studios = studios::get($config, $conditions);
return undef if scalar(@$studios) != 1;
return $studios->[0]->{image};
}
sub insert{
my $config=shift;
my $entry=shift;